Groups the integer part for reading and leaves the fraction verbatim, so a value still being
typed (1., 1.50) survives. Intl is handed the string unparsed, which formats it exactly
where the float would drift. The grouping and decimal separators are the locale's, so
sanitizeAmountInput has to read the result back under the same locale.
Groups the integer part for reading and leaves the fraction verbatim, so a value still being typed (
1.,1.50) survives.Intlis handed the string unparsed, which formats it exactly where the float would drift. The grouping and decimal separators are the locale's, so sanitizeAmountInput has to read the result back under the same locale.