hi,
i am looking to code my save percentage alittle different.
right now if a goalie has perfect save % it displays 1.000 and if not perfect 0.934
i want to keep the perfect save % at 1.000, but if not display like this .934
here is my code
$pcent2 = ROUND('1.000' - ($g_array[$playerid][goalsa] / $g_array[$playerid][shotsa]), 3);
$g_array[$playerid][sp] = number_format($pcent2, 3, '.', ',');