Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Fortran-like nu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 16019 of 16070
Post > Topic >>

Fortran-like number formatting

by Roedy Green <see_website@[EMAIL PROTECTED] > Apr 25, 2008 at 01:14 AM

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




 4 Posts in Topic:
Fortran-like number formatting
Roedy Green <see_websi  2008-04-25 01:14:30 
Re: Fortran-like number formatting
ram@[EMAIL PROTECTED] (S  2008-04-25 01:45:22 
Re: Fortran-like number formatting
ram@[EMAIL PROTECTED] (S  2008-04-25 02:30:39 
Re: Fortran-like number formatting
Roedy Green <see_websi  2008-04-25 10:11:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 2:17:21 CDT 2008.