[Lazarus] WebData - Formatting ExtJSon fields

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Nov 30 09:32:24 CET 2010

On Mon, 29 Nov 2010, Leonardo M. Ramé wrote:

> Hi, I'm using WebData and I need to format some numbers as Currency
> before sending back from my app to the browser. How can I do that?

JSON doesn't know a currency type ? You want to do it as string ?
There is an AfterRowToJSON event; You can take the currency members 
and convert them to string members:



More information about the Lazarus mailing list