good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: (s)printf and rounding woesby Not_a_Number (Prior) |
on Nov 05, 2003 at 10:07 UTC ( [id://304663]=note: print w/replies, xml ) | Need Help?? |
Thanks all. I should have realised this myself. In fact, further reading TFM shows that the problem of rounding with (s)printf is specifically addressed in perlfaq4: Does Perl have a round() function? dave
In Section
Seekers of Perl Wisdom
|
|