Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php round to the nearest 10

$number = ceil($input / 10) * 10;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #nearest
ADD COMMENT
Topic
Name
3+2 =