Anybody got any idea how to make a double such as 3.30 dispaly as 3.30 and not 3.3.
It sounds simple enough but its driving me nuts.........
printf("The double value is: %5.2f\n", $double_value);
or you could use: $num = "3.3"; $num = number_format($num, 2);