Skip to content

Commit

Permalink
raised maximum fractional digits from 20 to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-allen authored and ryzokuken committed Jul 21, 2023
1 parent 1f7a2bb commit f6d2945
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/numberformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ <h1>
1. Set _intlObj_.[[MaximumSignificantDigits]] to 21.
1. If _needFd_ is *true*, then
1. If _hasFd_ is *true*, then
1. Set _mnfd_ to ? DefaultNumberOption(_mnfd_, 0, 20, *undefined*).
1. Set _mxfd_ to ? DefaultNumberOption(_mxfd_, 0, 20, *undefined*).
1. Set _mnfd_ to ? DefaultNumberOption(_mnfd_, 0, 100, *undefined*).
1. Set _mxfd_ to ? DefaultNumberOption(_mxfd_, 0, 100, *undefined*).
1. If _mnfd_ is *undefined*, set _mnfd_ to min(_mnfdDefault_, _mxfd_).
1. Else if _mxfd_ is *undefined*, set _mxfd_ to max(_mxfdDefault_, _mnfd_).
1. Else if _mnfd_ is greater than _mxfd_, throw a *RangeError* exception.
Expand Down Expand Up @@ -1303,7 +1303,7 @@ <h1>ToRawFixed ( _x_, _minFraction_, _maxFraction_, _roundingIncrement_, _unsign
</emu-eqn>

<p>
When the ToRawFixed abstract operation is called with arguments _x_ (which must be a finite non-negative mathematical value), _minFraction_, _maxFraction_ (which must be integers between 0 and 20), _roundingIncrement_ (an integer), and _unsignedRoundingMode_ (a specification type from the *Unsigned Rounding Mode* column of <emu-xref href="#table-intl-unsigned-rounding-modes"></emu-xref> or *undefined*), the following steps are taken:
When the ToRawFixed abstract operation is called with arguments _x_ (which must be a finite non-negative mathematical value), _minFraction_, _maxFraction_ (which must be integers between 0 and 100), _roundingIncrement_ (an integer), and _unsignedRoundingMode_ (a specification type from the *Unsigned Rounding Mode* column of <emu-xref href="#table-intl-unsigned-rounding-modes"></emu-xref> or *undefined*), the following steps are taken:
</p>

<emu-alg>
Expand Down

0 comments on commit f6d2945

Please sign in to comment.