<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>
<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>