Results 1 to 2 of 2

Thread: Number Field -- Render to '0.00'

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    India
    Posts
    30
    Answers
    2
    Vote Rating
    0
      0  

    Default Answered: Number Field -- Render to '0.00'

    I want to render my numberfield to '0.00', So if the text is 0 it should show 0.00 by default, if the text is 75 it should display 75.00.

    I couldn't do it using decimalPrecision:2 , I tried other ways as well from the forums, Nothing helped me. Can any one throw some light on this.

  2. You will have to provide this functionality. Here are a few options:
    http://www.sencha.com/forum/showthread.php?147962
    http://www.mysamplecode.com/2011/12/...ion-using.html

    Regards,
    Scott.

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,389
    Answers
    716
    Vote Rating
    497
      0  

    Default

    You will have to provide this functionality. Here are a few options:
    http://www.sencha.com/forum/showthread.php?147962
    http://www.mysamplecode.com/2011/12/...ion-using.html

    Regards,
    Scott.

Posting Permissions

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