Results 1 to 2 of 2

Thread: [MODERN] Ext.field.Number does not display decimal precision greater than two

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2014
    Posts
    72
    Answers
    3

    Default Answered: [MODERN] Ext.field.Number does not display decimal precision greater than two

    Imagine if you will that I want the user to see the same number of decimal places that were entered into the number field even when that field loses focus.

    Here is a fiddle that demonstrates the issue:

    https://fiddle.sencha.com/#view/editor&fiddle/2cmc

    Any ideas on this? I must be missing something.

    I am using Ext JS 6.5.2.463 Modern Toolkit.

  2. Change the decimals config to something larger. It defaults to 2.

  3. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258
    Answers
    759

    Default

    Change the decimals config to something larger. It defaults to 2.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. Decimal Precision for Ext.Field.Number doesn it exist
    By nareshkokkula in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 20 Jun 2014, 11:27 AM
  2. 4.0.2 Ext.form.field.Number : force decimal precision in string value.
    By pkli in forum Ext:User Extensions and Plugins
    Replies: 8
    Last Post: 28 Jan 2013, 2:05 PM
  3. Decimal Precision on a Number Field
    By ckadli in forum Ext: Discussion
    Replies: 1
    Last Post: 7 Aug 2012, 12:38 PM
  4. Replies: 5
    Last Post: 5 Sep 2009, 9:48 AM

Posting Permissions

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