float floor ( float num ) rounds it to the nearest integer below its current value : floor « Math « PHP






float floor ( float num ) rounds it to the nearest integer below its current value

 
$number = floor(11.1); // 11
    $number = floor(11.9); // 11
    $number = floor(11); // 11
  
  

Related examples in the same category