PHP/Math/floor — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 10:06, 26 мая 2010
float floor ( float num ) rounds it to the nearest integer below its current value
<source lang="html4strict">
$number = floor(11.1); // 11
$number = floor(11.9); // 11 $number = floor(11); // 11 </source>