Re: Never liked printf, why is it doing this?



*** Chris Hope wrote/escribió (Fri, 29 Apr 2005 07:41:37 +1200):
>> You want sprintf(), not printf() above.
>
> or structure it like this:
>
> printf("<br>Total Value of Orders: $%01.2f<br>", $sum_value);

O maybe: http://www.php.net/number_format

--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
.