In the olden days Fortran had something called G format. It would
display a number in minimum space, e.g. 7.6 but would revert to
scientfic notation when it had to.
I am looking for something for displaying distances with some perhaps
rough control of significant digits displayed. I'm thinking in term
of things like picture sizes, furniture sizes, distances to drive,
paper sizes where I convert back and forth between English and metric
measure.
Is there anything built-in I have overlooked?
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com