JS code that parses the input string for illegal characters and adds the separators using RegEx. The example demonstrates the hot parsing of inputing numeric value. The number with decimal and thousands separators is on display in the visible <input> value. The proper actual double number is stored in <data-value> attribute.
dat77/Decimal-Thousands-separator
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|