• hichris123's avatar
    Make NumberFormat use the ICU currency data, fix bug in NumberFormat · ddb5c2d9
    hichris123 authored
    NumberFormat previously just used a min of 0 digits after the decimal and a max of 3. This CL changes it so that we use the ICU currency data, and set the min and max to the number of numbers after the decimal point for each currency.
    
    This CL also fixes a small bug where if the minimum fraction digits is above 3 but the maximum fraction digits isn't set, then it returns with only three numbers after the decimal point.
    
    BUG=435465,473104,304722
    LOG=Y
    
    Review URL: https://codereview.chromium.org/1231613006
    
    Cr-Commit-Position: refs/heads/master@{#29734}
    ddb5c2d9
Name
Last commit
Last update
..
break-iterator Loading commit data...
collator Loading commit data...
date-format Loading commit data...
general Loading commit data...
number-format Loading commit data...
overrides Loading commit data...
string Loading commit data...
OWNERS Loading commit data...
assert.js Loading commit data...
intl.status Loading commit data...
testcfg.py Loading commit data...
utils.js Loading commit data...