Skip to main content

Function: normalizeDigits()

function normalizeDigits(input): string;

Defined in: packages/core/src/i18n/locale.ts:468

٠١٢… / ۰۱۲… / ০১২… → 0-9, ٫ → ., ٬ dropped (docs/13 §1, §5). Every value stored, exported or hashed carries ASCII digits, so this runs on every keystroke in numeric, barcode and masked fields.

Parameters​

ParameterType
inputstring

Returns​

string