2009/2/11 João Cândido de Souza Neto <j...@consultorweb.cnt.br>:
> Hello everybody.
>
> I´d just like to know if there´s any way of defining a thousand separator to
> a currency value using sprintf.

Use number_format instead of sprintf, it's designed to do what you want.

-- 
Postgresql & php tutorials
http://www.designmagick.com/

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

Reply via email to