Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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: (8)
As of 2015-07-04 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls