round() works to round numbers to integers. How about rounding a price to 2 decimals. How does one do that?
Use round with the optional second parameter to set the precision.
$foo = round (1.95583, 2); // $foo == 1.96
http://www.php.net/manual/en/function.round.php
do it!!! 🙂