diff --git a/api/js/etemplate/Et2Textbox/Et2Number.ts b/api/js/etemplate/Et2Textbox/Et2Number.ts index 6cd955a3c1..879a20adce 100644 --- a/api/js/etemplate/Et2Textbox/Et2Number.ts +++ b/api/js/etemplate/Et2Textbox/Et2Number.ts @@ -124,9 +124,9 @@ export class Et2Number extends Et2Textbox const sep = format ? format[0] : '.'; // Remove separator so parseFloat works - if(typeof val === 'string' && format && sep && sep !== '.') + if(typeof val === 'string') { - val = val.replace(sep, '.'); + val = val.replace(",", '.'); } if(typeof this.precision !== 'undefined')