La plus petite valeur proche de n avec ‘floor ( float n )’

Author:


Download

  <html>
  <head>
  <title> Fonction Mathématique</title>
  </head>
   <body>
   <?php

    $nombre = floor(12); // 12
    echo $nombre.'<br/>';
    $nombre = floor(12.5); // 12
    echo $nombre.'<br/>';
    $nombre = floor(12.9); // 12
    echo $nombre.'<br/>';

    ?>

  </body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *


five − 4 =