Perl-Sensitive Sunglasses | |
PerlMonks |
Re: strange roundingby I0 (Priest) |
on Dec 01, 2004 at 07:13 UTC ( [id://411394]=note: print w/replies, xml ) | Need Help?? |
What are $units and $p when you do this? I only get 123.99 when int(0.5 + ($units*$p*100) ) == 12399
In Section
Seekers of Perl Wisdom
|
|