Round in action : Math Functions : Math PHP Source Code


PHP Source Code » Math » Math Functions »

 

Round in action




<?
$my_int = round(4.7)
echo($my_int);

$my_int = round(-4.7);
echo($my_int);

$my_int = round(-4.5);
echo($my_int);

?>
           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Math
» Math Functions