in reply to Re^4: How to determine whether a number has a decimal component?
in thread How to determine whether a number has a decimal component?

There are algorithms out there to find "nice" scales for graphs; I'd suggest one of them. You can find one routine to do so here. It's from the Griffiths and Hill archive at Carnegie-Mellon's StatLib site. More may be found here or at CGAL.


Another is from the Graphics Gems web site.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

  • Comment on Re^5: How to determine whether a number has a decimal component?