Click to See Complete Forum and Search --> : PHPlot help


ven.ganeva
09-25-2008, 06:08 AM
I'm using PHPlot which is great but have 1 problem.

The y axis are displaying numbers like 686655 and i would like to round these up to 686,000.

Does anyone know how to do this? :confused:

Phill Pafford
09-25-2008, 08:17 AM
if doing math function on a number with the , does not work. but this should work in adding the ,


$num = 1232342345;
$format = number_format($num, 0);
echo $format . "<br />";