PDA

View Full Version : Using Large numbers in NumberField



pavanbl
18 Nov 2012, 1:31 AM
Hi All,
Can you let me know how to do I use large numbers in Numberfield. Something like 99999999999999999999.99.
Currently it is showing as 1e+21.

Thanks,
Pavan

sword-it
20 Nov 2012, 1:40 AM
Hi pavanbl,

Ext.form.NumberField uses a javascript Number to hold the value.
If you want to support larger numbers, use an Ext.form.TextField that only allows numbers to be entered (so the final value is a String and not a Number).