Answers for "php round nearest half"

PHP
0

php round to the nearest 10

$number = ceil($input / 10) * 10;
Posted by: Guest on July-21-2021
0

php round nearest half

$x = floor($x * 2) / 2;
Posted by: Guest on January-19-2021

Browse Popular Code Answers by Language