Pathologically Eclectic Rubbish Lister | |
PerlMonks |
strange roundingby Anonymous Monk |
on Nov 29, 2004 at 12:24 UTC ( [id://410904]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
to round decimals numbers to a price (2 dec) I have As I always got s.th. like 123.99, but I don't want 'super-market-prices'! I 'explode' this calc and I found What is my mistake? The accepted non-accuracy can't be that big? Carl
Back to
Seekers of Perl Wisdom
|
|