Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Rounding off numbers

by jmichae3 (Initiate)
on Sep 13, 2014 at 08:51 UTC ( [id://1100474]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (2*4.5+1)/2=5
    (2*5.5+1)/2=6
    
  2. or download this
    (2*int(4.5)+1)/2=4.5
    (2*int(5.5)+1)/2=5.5
    
  3. or download this
    int(2*4.5+1)/2=5
    int(2*5.5+1)/2=6
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-19 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found