Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php round nearest half

$x = floor($x * 2) / 2;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #nearest
ADD COMMENT
Topic
Name
5+2 =