Float to string with more digits?

Almighty Bob via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 24 13:11:58 PST 2015


Just to clarify what i needed was...

%.8g  or  %.7e

Significant digits, or fixed width scientific form. I needed more 
significant digits.

%.8f controls how many digits to print after the decimal point, 
which is not the same thing.


More information about the Digitalmars-d-learn mailing list