I fail to see what's 'poorly written' in the number_format() page in the manual.
Four parameters that are pretty much self-explanatory.
$points_forwarded=45762434;
$certr = $points_forwarded/250;
$cert = number_format($certr, 2, '.', ',');
echo $certr.'<BR>'.$cert;