I'm dividing some variables and I want to round them off at the second decimal how do I do that?
i.e.
$somevar = $somevar / 60;
which equals...
2.343434333564564
and I want to round it off to
2.34
take a look at this page:
http://www.php.net/manual/en/function.round.php
good luck!