When I make a division and the result is a float number, this number has a lot of decimals. I only want the number with two decimals. Is this possible? Is there any function to do it?
Thank you very much.
From the mighty manual:
round
(PHP3 , PHP4 )
round -- Rounds a float
Description
double round (double val [, int precision])