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

Re^4: Answer: How do I round a number?

by 5mi11er (Deacon)
on Apr 27, 2005 at 18:46 UTC ( #452076=note: print w/ replies, xml ) Need Help??

in reply to Re^3: Answer: How do I round a number?
in thread math

Yes, the plain ceil function is fine, but the XL_ceil, and ceil_qtrs functions are (nearly certainly, without actually testing) broken for negative numbers.

I'll have to play a bit later and see if I can fix those functions in a similar way...

Update: Indeed there were issues with that code. I have /msg'ed the QandAEditors, and asked them to replace the bad code, but until they do, I've placed the new code on my scratchpad.


Update: Erroneous code has since been replaced with working code.

Comment on Re^4: Answer: How do I round a number?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2015-11-26 19:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (706 votes), past polls