Answers for "php function to round up a number to the nearest 100"

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

Code answers related to "php function to round up a number to the nearest 100"

Browse Popular Code Answers by Language