0 Replies Latest reply on Jan 12, 2011 5:27 AM by abhinav1singhal

    Number validation problem in flex for 13th digit

    abhinav1singhal Level 1

      Hi All,


      Currently my requirement is to check the validation of a decimal format number in such a way that


      if( number>9999999999998.99999999){

           Show error




           no error.



      Please note that 9999999999998.99999999 has 13th digit as 8 followed by 8 times 9s.

      So if I type 9999999999999, the validation doesn't happen in flex. Looks like flex is rounding up the number internally. Any sloutions to it will be appreciated.


      Also, if I type number with 9 times 9s after decimal then also it should show an error.