I asked a question earlier about how to deal with rounding issues with floating point numbers in PHP, and was pointed to the bc
and gmp
libraries.
I've looked at the functions in these libraries but nothing jumped out at me when I was looking for one to round off the number.
How do you accurately round using these libraries?