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

Re^3: Best way to round a number.

by BrowserUk (Pope)
on Oct 25, 2012 at 00:55 UTC ( #1000743=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Best way to round a number.
in thread Best way to round a number.

I hope I am a lil clear on that now, thanks!

Not really. Are you saying that

  1. if it is less that xx5, it rounds down.
  2. if it is greater than xx5 it rounds up.
  3. But if it is equal to xx5, it stays as is?

If so, that is a very peculiar rounding mode?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong


Comment on Re^3: Best way to round a number.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-07-11 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (222 votes), past polls