ahhh ok thanks guys!! That worked ... I knew it was something but I could
not remember which function...

thanks again!

"Larry E . Ullman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > $x = 4.5012412;
> > echo round($x, 2);     // results in 4.5 ---  however I want 4.50!  I
> > want 2
> > decimal places!
>
> echo number_format ( round ($x, 2), 2);
>
> Larry
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to