1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    4
    Vote Rating
    0
    pavanbl is on a distinguished road

      0  

    Default Using Large numbers in NumberField

    Using Large numbers in NumberField


    Hi All,
    Can you let me know how to do I use large numbers in Numberfield. Something like 99999999999999999999.99.
    Currently it is showing as 1e+21.

    Thanks,
    Pavan

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi pavanbl,

    Ext.form.NumberField uses a javascript Number to hold the value.
    If you want to support larger numbers, use an Ext.form.TextField that only allows numbers to be entered (so the final value is a String and not a Number).
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

Tags for this Thread