flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Virat Patil <Virat.Pa...@mastek.com>
Subject Number Formatter Query
Date Thu, 16 Jan 2014 11:08:53 GMT

I am trying to format value using number formatter.

This is my test Code
var value:int="14999999999999999188.00";
var formatter:NumberFormatter=new NumberFormatter();
value =formatter.format(value);
After trace the value i get is this "15,000,000,000,000,000,000"

It returns me above value. I think it is maximum number is there any other way to so that
I can get proper value.

In the US, we're called MAJESCOMASTEK

Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited,
unless specifically indicated to that effect. Mastek Limited does not accept any responsibility
or liability for it. This e-mail and attachments (if any) transmitted with it are confidential
and/or privileged and solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any action in reliance
upon this information by persons or entities other than the intended recipient is prohibited.
This e-mail and its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and attachments before
opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop
and server.

View raw message