1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    India
    Posts
    29
    Vote Rating
    0
    Answers
    2
    funnyfox is on a distinguished road

      0  

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

    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,154
    Vote Rating
    475
    Answers
    686
    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

      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.

Thread Participants: 1