/ Published in: PHP
Expand |
Embed | Plain Text
// cross product function neo_percent($total, $rapport){ if($total > 0){ $percent = ( 100 * $rapport) / $total ; }else{ $percent = 0; } }
You need to login to post a comment.
giak on 01/14/10
1 person have marked this snippet as a favorite
// cross product function neo_percent($total, $rapport){ if($total > 0){ $percent = ( 100 * $rapport) / $total ; }else{ $percent = 0; } }
You need to login to post a comment.