I have a donation Centre set up with a goal of 100.000. So far 5 has been donated and the centre is showing it as 5% Done.

I have this in my config.php
Code:
// Your goal in USD:
$goal = 100.000;
and I have this in my donate.php

Code:
// Calculating how many percent of the goal were met:
$percent = round(min(100.000*($sum/$goal),100.000));
What is missing or wrong?