1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    1
    ckadli is on a distinguished road

      1  

    Default Unanswered: DecimalPrecision on Number Field

    Unanswered: DecimalPrecision on Number Field


    Hi,

    I have set the decimalPrecision on a NumberField to 4. This works fine as along the number of digits before the decimal is <= 13 digits. Once it exceeds 13 digits, for every new digit entered, it strips off a digit after the decimal.
    This is the default behaviour of Extjs Number field? I actually need to be able to enter 15 digits before the decimal point and 4 digits after the decimal point.

    Thanks

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,111
    Answers
    678
    Vote Rating
    470
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      1  

    Default


    This is a JS issue, you will need to get a library like:
    https://github.com/jtobey/javascript-bignum

    Scott.

Thread Participants: 1

Tags for this Thread