|
Fonction pourcentage
|
Informations rapides |
|
|
Informations détaillées
|
Description :
Simple et efficace pour découvrir comment manier des nombres sous Php
Portion de code
1 2 3 4 5 6 7 8 9 10 11
|
<? function pourcentage($nombre,$total,$pourcent) { $nbr = ($nombre/$total) * $pourcent; return round($nbr); }
?>
|
|
Informations & Services |
 |
|
|
 |
Newsletter
Autre Sources
Tips
|