There are some comments below. I hope this will point you in the right
direction.
/* Yours :: $percentage=(($target_score/($fleet_score+$total_score))*.4)*100; */
/* From looking at the math you do on the calculator you may want to try this
instead. */
$percentage=(($target_score/($fleet_score+
$percentage=(($target_score/($fleet_score+$total_score))*.4)*100;
if ($percentage >= 10) {
$percentage='10';
$capped=$target_roids*($percentage/100);
} else {
$capped=$target_roids*($percentage/100);
}
}
I get different results o
2 matches
Mail list logo