3.2.0

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
November 20,
You can use AW.Formats.Number with $#,###.## pattern -

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

This topic is archived.

See also:


Back to support forum