Skip to content

Commit

Permalink
Fix small typos for the Unified NumberFormat parts
Browse files Browse the repository at this point in the history
  • Loading branch information
leobalter committed Feb 27, 2020
1 parent 030eaa3 commit bcc6ecf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/annexes.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ <h1>Implementation Dependent Behaviour</h1>
Localized symbols for compact and scientific notation (<emu-xref href="#sec-formatnumber"></emu-xref>)
</li>
<li>
Localized <ins>narrow, short, and long</ins> currency symbols <del>and names</del> (<emu-xref href="#sec-formatnumber"></emu-xref>)
Localized narrow, short, and long currency symbols and names (<emu-xref href="#sec-formatnumber"></emu-xref>)
</li>
<li>
Localized narrow, short, and long unit symbols (<emu-xref href="#sec-formatnumber"></emu-xref>)
Expand Down
4 changes: 2 additions & 2 deletions spec/numberformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@ <h1>GetNotationSubPattern ( _numberFormat_, _exponent_ )</h1>
1. Else if _exponent_ is not 0, then
1. Assert: _notation_ is *"compact"*.
1. Let _compactDisplay_ be _numberFormat_.[[CompactDisplay]].
1. Let _compactPatterns_ be _notationSubPatterns_.[[compact]].[[&gt;_compactDisplay_&lt;]].
1. Return _compactPatterns_.[[_exponent_]].
1. Let _compactPatterns_ be _notationSubPatterns_.[[compact]].[[&lt;_compactDisplay_&gt;]].
1. Return _compactPatterns_.[[&lt;_exponent_&gt;]].
1. Else,
1. Return *"{number}"*.
</emu-alg>
Expand Down
2 changes: 1 addition & 1 deletion spec/pluralrules.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h1>ResolvePlural ( _pluralRules_, _n_ )</h1>
1. Let _locale_ be _pluralRules_.[[Locale]].
1. Let _type_ be _pluralRules_.[[Type]].
1. Let _res_ be ! FormatNumericToString(_pluralRules_, _n_).
1. Let _s_ be _res_.[[FormattedString]]
1. Let _s_ be _res_.[[FormattedString]].
1. Let _operands_ be ? GetOperands(_s_).
1. Return ? PluralRuleSelect(_locale_, _type_, _n_, _operands_).
</emu-alg>
Expand Down

0 comments on commit bcc6ecf

Please sign in to comment.