Wrong format, he wants '%e' or '%f'.
Oops, replied to the title. Decimal representation of binary fractions problen, see 'perldoc -q round' from perlfaq4..
After Compline,
Zaxo
In reply to Re: floating points and sprintf
by Zaxo
in thread floating points and sprintf
by kennethwlangley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |