Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This would make sense if "100000.0" was printed as 1e05
Yes - I, too, would prefer to see the same rule applied to both leading and trailing zeroes. Unfortunately, that's not the way it's being done. Another way of avoiding the scientific notation (no matter how many leading zeroes) is to convert to a Math::BigFloat object: (Replace double quotes with single quotes on nix.) Cheers, Rob In reply to Re: Stringification of FP numbers.
by syphilis
|
|