Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://411394]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-01-19 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.