Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Decimal Removal

by gumby (Scribe)
on Jun 19, 2002 at 13:37 UTC ( [id://175671]=note: print w/replies, xml ) Need Help??


in reply to Decimal Removal

The floor function is basically int() and therefore ceiling is int()+1. But as perlfunc says '...sprintf, printf, or the POSIX::floor and POSIX::ceil functions will serve you better than will int()'.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://175671]
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: (1)
As of 2024-04-24 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found