D
deanfamily11
Say I have the number 15.7, how can I round it up to 16?
deanfamily11 said:Say I have the number 15.7, how can I round it up to 16?
Ali said:ceil(x);
Victor Bazarov said:That would be ill-advised. ceil(0.1) gives 1, which actually
should be 0 AFA rounding is concerned, no?
Ali said:I realized it as soon as I posted my response; still, I will use the
incomplete requirement as an excuse:
"Say I have the number 15.7, how can I round it up to 16?"
Ali
Note: I've found at least one reference on the web, which mentions
the use of a ceil-like functionality under the title "Rounding up."
http://support.microsoft.com/default.aspx?scid=kb;en-us;196652
Victor said:That would be ill-advised. ceil(0.1) gives 1, which actually
should be 0 AFA rounding is concerned, no?
I realized it as soon as I posted my response; still, I will use the
incomplete requirement as an excuse:
"Say I have the number 15.7, how can I round it up to 16?"
Ali
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.