Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Rounding off numbers

by sgifford (Prior)
on Apr 20, 2006 at 14:37 UTC ( [id://544615]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Rounding off numbers
in thread Rounding off numbers

Adding 0.5 before the int, as in the above example, solves that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-25 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found