But, if you want the number closest to zero, you could use this:
<?php
if($foo > 0) {
floor($foo);
} else {
ceil($foo);
}
?>
-benrr101
But, if you want the number closest to zero, you could use this:
<?php
if($foo > 0) {
floor($foo);
} else {
ceil($foo);
}
?>
-benrr101