How to round a double value in PHP?
simple php round example
<?php
echo(round(0.50));
?>
Round numbers
<?php
echo(round(0.60) . "<br>");
echo(round(0.50) . "<br>");
echo(round(0.49) . "<br>");
echo(round(-4.40) . "<br>");
echo(round(-4.60));
?>