"mark" <(E-Mail Removed)> wrote...

> How to calculate the approximation of a given decimal number, say for

> two places after decimal.

>

> like 10.987 should be approximated to 10.99

> 10.947 should be approximated to 10.95
It's called "rounding" and you can find different methods of

achieving that in different books. Or on Google.

> can someone point me to a web site where one can find implementations

> of standard math library functions like say floor, ceil etc.
Someone possibly can. I can't. Oh, wait,

www.google.com
should be of some help.