Results 1 to 3 of 3

Thread: How to show 2 floating points precision in textfield

  1. #1
    Sencha User
    Join Date
    Jan 2018

    Default How to show 2 floating points precision in textfield

    Hello, I have a textfield to show numbers, I need to show the numbers always with a floating point precision of 2 characters, even if the value is an integer. How can i do this??. Thanks in advanced

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017


    Thank you! We are working to get you an answer and will be back with you shortly.

  3. #3
    Sencha Staff
    Join Date
    Sep 2017


    Hi there,

    If you only want to show numbers, use numberfield instead of textfield.

    'decimal precision' of numberfield helps to do that. By default it is 2.

    Sencha Support.

Similar Threads

  1. Replies: 1
    Last Post: 7 Sep 2018, 1:13 PM
  2. Textfield cursor floating in iOS mobile safari
    By robboerman in forum Sencha Touch 2.x: Bugs
    Replies: 2
    Last Post: 11 Dec 2013, 6:59 AM
  3. Architect + Charts: How to get iteminfo to show information about the data points
    By CRH in forum Sencha Architect 2.x: Help & Discussions
    Replies: 5
    Last Post: 1 Aug 2013, 4:33 AM
  4. Floating Panel does not show?
    By Stju in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 12 Jan 2011, 1:59 AM
  5. Extjs TextField behaves like a Floating div
    By jpmcity in forum Sencha Ext JS Q&A
    Replies: 4
    Last Post: 11 Nov 2008, 7:50 AM

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