float floor ( float $value )
floor() rounds fractions down
※ available F/W version : all
Returns the next lowest integer value by rounding down value if necessary
<?php
$val = 123.54;
$ret = floor($val);
echo "ret = $ret\r\n"; // OUTPUT: ret = 123
?>
This function is identical to the PHP group’s floor() function.