:: Forum >>

Currency Format

I am using the following to establish formats for the various columns in my grid. Is there a format for US currency?

var strf = new AW.Formats.String;
var datf = new AW.Formats.Date;
var numf = new AW.Formats.Number;

Thanks and regards,
Eric Juvet
ericj
Monday, November 20, 2006
You can use AW.Formats.Number with $#,###.## pattern -

var ccy = new AW.Formats.Number;
ccy.setTextFormat("$#,###.##");
Alex (ActiveWidgets)
Monday, November 20, 2006

This topic is archived.


Back to support forum

Forum search