JPols,

Can this little snippet be of use to you?

code:

$pbPercent = (($numerator * 1000) / $denominator)
$pbPercent = $pbPercent / 10

Just another way to come up with 100%...

Paul