setValue : function(v){
v = this.fixPrecision(v);
- if(!this.allowDecimals || this.decimalPrecision == -1 || nan || !value){
- //noop
- } else {
+ if(this.thousandSeparator != ''){
v = Roo.util.Format.number(v, this.decimalPrecision, this.thousandSeparator);
- }
+ }
Roo.form.NumberField.superclass.setValue.call(this, String(v).replace(".", this.decimalSeparator));
},