Kiran,
Please try parseInt("999999999999999")
This should work for sure :)
Cheers,
Naveen
On Thu, Jul 21, 2011 at 1:43 AM, Kiran Kumar Reddy <[email protected]>wrote:
> Dear Friends,
>
> I am having issue with converting String to Number.
>
> Number('999999999999999') should result in 999999999999999.
> but it adds +1 to the input string and returns me 10000000000000000.
> This bug appears only when the String value is more than 15 digits.
> I am using Flex 3.2 version. Is this a bug in Flex? Please help me to
> resolve this.
>
> Thanks & Regards,
> Kiran
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.