flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Virat Patil <Virat.Pa...@mastek.com>
Subject RE: Number Formatter Query
Date Mon, 20 Jan 2014 04:26:28 GMT
Thanks for the reply 
This was kind of regression testing performed at our end by testers.
We  have currently put limit over the number of characters entered.

Regards
Virat 

-----Original Message-----
From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Saturday, January 18, 2014 12:39 AM
To: users@flex.apache.org
Subject: Re: Number Formatter Query

Regarding money, you probably know better than I since you work directly with the banks, but
I was recalling going to Bali many years ago where their 100,000 note was worth about USD2.
 I wonder if their banks would hit the 10^15 maximum faster.

I agree it isn't common, but if Flex is to truly allow you to code "anything", we will need
to have libraries that handle big numbers and have "infinite precision" at least to the degree
that Java does.

On 1/17/14 10:15 AM, "Maurice Amsellem" <maurice.amsellem@systar.com>
wrote:

>>Could be money too.
>
>AFAIK, Double precision float is 52bit, that is around 15 decimal 
>digits, which is more than enough for even largest financial figures, 
>as long as you don't do too many computations in Flex (because of 
>rounding errors accumulation).
>My company's customers are some of the largest banks , and the figures 
>are never that huge, even with cents precision...
>
>Then there is the "storage" case.  I agree that PetaBytes (10^15) would 
>push to the maximums. Hopefully, it's not that common.
>
>Maurice
>
>-----Message d'origine-----
>De : Alex Harui [mailto:aharui@adobe.com] Envoyé : vendredi 17 janvier 
>2014 18:32 À : users@flex.apache.org Objet : Re: Number Formatter Query
>
>Could be money too.  I've been told that financial apps need this.
>
>Or storage. I think petabytes push the maximums.
>
>At some point in time, Flex will probably need a good library for this.
>
>On 1/17/14 8:51 AM, "Maurice Amsellem" <maurice.amsellem@systar.com>
>wrote:
>
>>What could be the real-life use case for such huge figures ?   is it a
>>physics or math  application?
>>
>>Maurice
>>
>>-----Message d'origine-----
>>De : Virat Patil [mailto:Virat.Patil@mastek.com] Envoyé : jeudi 16 
>>janvier 2014 12:26 À : users@flex.apache.org Objet : RE: Number 
>>Formatter Query
>>
>>Sorry . kindly ignore previous test code.
>>
>>Test Code
>>var value:String="14999999999999999188.00";
>>var formatter:NumberFormatter=new NumberFormatter(); value 
>>=formatter.format(value); trace(value);
>>
>>After trace the value i get is this "15,000,000,000,000,000,000"
>>
>>-----Original Message-----
>>From: Virat Patil
>>Sent: Thursday, January 16, 2014 4:39 PM
>>To: users@flex.apache.org
>>Subject: Number Formatter Query
>>
>>Hello
>>
>>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); trace(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.
>>
>>
>>Regards
>>Virat
>>MASTEK LTD.
>>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.
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>~
>>~~~
>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>

MASTEK LTD.
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Mime
View raw message