<?php
float ceil ( float $num )
where,
$num = The numeric value to round
?>
<?php
setlocale(LC_ALL, 'pt-br', 'pt_BR');
function ceilval($val01, $loc01)
{
echo 'Rounded value = ' . ceil($val01) .
'<br>From given value = ' . $val01 . '<br><br>';
}
ceilval(234, 0);
ceilval(-234, 0);
ceilval(4.9956, 0);
ceilval(-4.9956, 0);
ceilval(1.99E+29, 0);
ceilval(1.99E-29, 0);
ceilval(M_PI, 0);
?>