Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Just another Perl shrine
 
PerlMonks  

Re: strange rounding

by I0 (Priest)
on Dec 01, 2004 at 07:13 UTC ( #411394=note: print w/ replies, xml ) Need Help??


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


Comment on Re: strange rounding

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://411394]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (18)
As of 2014-04-17 14:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (450 votes), past polls