Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

PHP: Arrondir les nombres


{filelink=13306}

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

<?php
$resultat = round(3.14);
echo($resultat."<br/>");

$resultat = round(-3.14);
echo($resultat."<br/>");

$resultat = round(-6.5);
echo($resultat);

?>

</body>
</html>

No comments yet.

Leave a Comment