Skip to content

Commit 253fdbc

Browse files
Update spec.emu
Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
1 parent 72a1c3d commit 253fdbc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

spec.emu

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,10 @@ location: https://github.com/tc39/proposal-amount/
157157
1. Set _formatter_.[[MinimumSignificantDigits]] to 1.
158158
1. Set _formatter_.[[MaximumSignificantDigits]] to 21.
159159
1. If _hasFd_ is *true*, then
160-
1. Set _formatter_.[[MinimumFractionDigits]] to _minFractionDigits_ if _minFractionDigits_ is not *undefined*, or 0 otherwise.
161-
1. Set _formatter_.[[MaximumFractionDigits]] to _maxFractionDigits_ if _maxFractionDigits_ is not *undefined*, or 100 otherwise.
160+
1. If _minFractionDigits_ is not *undefined*, let _resolvedMinFD_ be _minFractionDigits_; else let _resolvedMinFD_ be 0.
161+
1. If _maxFractionDigits_ is not *undefined*, let _resolvedMaxFD_ be _maxFractionDigits_; else let _resolvedMaxFD_ be 100.
162+
1. Set _formatter_.[[MinimumFractionDigits]] to _resolvedMinFD_.
163+
1. Set _formatter_.[[MaximumFractionDigits]] to _resolvedMaxFD_.
162164
1. Else,
163165
1. Set _formatter_.[[MinimumFractionDigits]] to 0.
164166
1. Set _formatter_.[[MaximumFractionDigits]] to 100.

0 commit comments

Comments
 (0)