DescriptionFix user options for fractional digits in Intl.NumberFormatter
The patch in https://crrev.com/ddb5c2d999c5ee6e31c4a9599bb3ddb293cc3f49
moved all fractional digit settings to default values due to a coding
error. These were not even correct default values, and users observed
errors where percentages were written as "23.0%" instead of "23%".
This patch fixes the setting propagation when appropriate and it changes
the default max fractional digits of a percentage to 0, per spec.
BUG=chromium:544122
R=mnita,jochen
CC=hichris123,adamk
LOG=Y
Committed: https://crrev.com/f5e924eb10060d355e693ce4ce9ce0aaf3a8411f
Cr-Commit-Position: refs/heads/master@{#31468}
Patch Set 1 #
Messages
Total messages: 18 (10 generated)
|