Forum Moderators: coopster
$section = $row[value];
$section = list($amount, $totalamount) = explode( ":", $section );
$section = stripslashes($section);$percent = ($amount/$totalamount) * 100;
$percentage = round($percent);
where $row[value] was 50:100... I sectioned it out so they would be two seperate values and then divided and multiplied to get my percent... then rounded the percent to a non-decimal number. :D