Hello,
I have some math calculations and sometimes the script returs results like this
189928.72408492
how would i make the above into 189928.72
many thanks Chris
[man]number_format[/man]
Also, round: http://www.php.net/round
round($variable, 2)
The variable is the number rounding to 2 decimals. Number format is also another one another user specified in the first reply.
Very nice! As I seem to say alot here.... THANK YOU ALL!!
Chris