sanitize_separators
Sanitize a value according to the current decimal and thousand separator setting. Used with form field input.
def sanitize_separators(
value: string
) - > string
Sanitize a value according to the current decimal and thousand separator setting. Used with form field input.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string | The raw input string from a form field containing localized numeric formatting. |
Returns
| Type | Description |
|---|---|
string | A string representation of the value with thousand separators removed and the localized decimal separator replaced by a standard dot. |