Re: [PHP] sprintf thousand separator.

2009-02-11 Thread Jo�o C�ndido de Souza Neto
Ok, thanks. I´ll try to do it. As soon as I get it I´ll let you know. Thanks guys. "Bruno Fajardo" escreveu na mensagem news:eeb6980b0902110534p22a8c75eqd98cceaf3a150...@mail.gmail.com... Can you extend the JPGraph class, intercepting the desired method, formatting the output the way you ne

Re: [PHP] sprintf thousand separator.

2009-02-11 Thread Bruno Fajardo
Can you extend the JPGraph class, intercepting the desired method, formatting the output the way you need? 2009/2/11 João Cândido de Souza Neto > > No, I can´t, because if I do it how can jpgrhph render without numeric data? > hehehe > > "Richard Heyes" escreveu na mensagem > news:af872644090

Re: [PHP] sprintf thousand separator.

2009-02-11 Thread Jo�o C�ndido de Souza Neto
No, I can´t, because if I do it how can jpgrhph render without numeric data? hehehe "Richard Heyes" escreveu na mensagem news:af8726440902110523x63ce5485p6534d10063eb4...@mail.gmail.com... >> Thanks for your answer, but my real problem is to get thousand separator >> in >> jpgraph class which

Re: [PHP] sprintf thousand separator.

2009-02-11 Thread Richard Heyes
> Thanks for your answer, but my real problem is to get thousand separator in > jpgraph class which uses sprintf to display almost everithing; Can you format it first, and then pass it to JPGraph ? -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.o

Re: [PHP] sprintf thousand separator.

2009-02-11 Thread Per Jessen
chris smith wrote: > 2009/2/11 João Cândido de Souza Neto : >> 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. > I wonder why

Re: [PHP] sprintf thousand separator.

2009-02-11 Thread Jo�o C�ndido de Souza Neto
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" escreveu na mensagem news:3c1395330902110457i18cec69cy9818e08cdd3ff...@mail.gmail.com... 2009/2/11 João Cândido de Souza Neto : > H

Re: [PHP] sprintf thousand separator.

2009-02-11 Thread chris smith
2009/2/11 João Cândido de Souza Neto : > 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.desig