Chris,

Thanks for your answer, but my real problem is to get thousand separator in 
jpgraph class which uses sprintf to display almost everithing;


"chris smith" <dmag...@gmail.com> escreveu na mensagem 
news:3c1395330902110457i18cec69cy9818e08cdd3ff...@mail.gmail.com...
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