Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: decimal places

by Arien (Pilgrim)
on Jan 17, 2003 at 10:23 UTC ( [id://227642]=note: print w/replies, xml ) Need Help??


in reply to decimal places

I know how to round off a number using 'int'

I know how to round not using int. ;-) int just truncates, which isn't rounding half the time.

Check Perl FAQ 4 or use perldoc -q round for more info.

— Arien

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2025-01-21 22:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (62 votes). Check out past polls.