in reply to strange rounding
What are $units and $p when you do this?
I only get 123.99 when int(0.5 + ($units*$p*100) ) == 12399
I only get 123.99 when int(0.5 + ($units*$p*100) ) == 12399
In Section
Seekers of Perl Wisdom
in reply to strange rounding