Revision: 22517
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 14, 2010 01:55 by giak
Initial Code
// cross product function neo_percent($total, $rapport){ if($total > 0){ $percent = ( 100 * $rapport) / $total ; }else{ $percent = 0; } return round($percent,2); }
Initial URL
http://www.giacomel.fr
Initial Description
Initial Title
PHP : percent an INT
Initial Tags
Initial Language
PHP