Skip to content

Commit

Permalink
SetNumberFormatDigitOptions is fallible when provided a user-controll…
Browse files Browse the repository at this point in the history
…able options object, so invoke it as such. (#116)
  • Loading branch information
jswalden authored and caridy committed Dec 19, 2016
1 parent dcd333d commit 947aa9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/numberformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h1>InitializeNumberFormat ( _numberFormat_, _locales_, _options_ )</h1>
1. Let _mnfdDefault_ be _cDigits_.
1. Else,
1. Let _mnfdDefault_ be *0*.
1. Perform ! SetNumberFormatDigitOptions(_numberFormat_, _options_, _mnfdDefault_).
1. Perform ? SetNumberFormatDigitOptions(_numberFormat_, _options_, _mnfdDefault_).
1. If _numberFormat_.[[maximumFractionDigits]] is *undefined*, then
1. If _style_ is *"currency"*, then
1. Set _numberFormat_.[[maximumFractionDigits]] to max(_numberFormat_.[[minimumFractionDigits]], _cDigits_).
Expand Down

0 comments on commit 947aa9a

Please sign in to comment.