:: Forum >>

Large Numbers Formating!

Hi,

Is there any way to get working large numbers formating?

I'm using the following code:
var num = new AW.Formats.Number;
num.setTextFormat("#,###.##");
x_grid.setCellFormat(['', num,'']);


It works correctly when the number is between 1 and 999999999999, but for example, if the number is 9999999999999999 I get a output like this:
9999999,999,999,999.00

How I can increase the numbers of digits allowed?

Thanks
Esteban
Thursday, March 3, 2011
You have to modify /source/lib/formats/number.js, doFormat and setTextFormat functions
Alex (ActiveWidgets)
Monday, March 7, 2011

This topic is archived.


Back to support forum

Forum search