* Thus wrote Kevin Ison (kevinkevison.com):> I need to know if there is a work around for the following scenerio...
> $x = 4.5012412;
> echo round($x, 2); // results in 4.5 --- however I want 4.50! I want 2
> decimal places!number_format(round($x, 2),2);>
> Is there a way to keep the zero from being dropped? I have not been able to
> get the zero to stay there ... I realize this is the interpreters problem
> but I need the zero.
you can always control with printf functions, but number format is
designed specifically for that.
"I used to think I was indecisive, but now I'm not so sure."