allows setting the format of numeric data (for inputs only)
| name | string | the name of an item |
| format | string | the data format |
| groupSep | string | a mark used to divide numbers with many digits into groups. By default - ”.” (dot) |
| decSep | string | a mark used as a decimal delimiter. By default - ”,” (comma) |
myForm.setNumberFormat("input5","$ 0,000.00","'",",");
for specifying the format parameter you should use the default group and decimal separators (”.” and ”,”).
Back to top