Results 1 to 2 of 2

Thread: DecimalPrecision on Number Field

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    2
    Vote Rating
    1
      1  

    Default 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,390
    Answers
    716
    Vote Rating
    498
      1  

    Default

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

    Scott.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •