Utilisation des fonction ‘ceil()’ et ‘floor()’

Author:


Download

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

<?php

  $nombre_double = 3.14;
  $resultat = ceil($nombre_double);
  print ceil($resultat)."<br/>";

   $nombre_double = -3.14;
   $resultat = floor($nombre_double);
   ceil($resultat);
   print ceil($resultat)."<br/>";

?>

 </body>
</html>

Leave a Reply

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


four × = 24