Answers for "php equivalent to javascript math.round"

PHP
2

round up built in function php

echo ceil(0.5); //Prints 1
Posted by: Guest on March-03-2020
3

php round up

//round up to nearest integer
echo(ceil(0.60) . "<br>");
//result 1
Posted by: Guest on June-09-2020

Code answers related to "php equivalent to javascript math.round"

Browse Popular Code Answers by Language