You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/numberformat.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -527,7 +527,7 @@ <h1>Properties of Intl.NumberFormat Instances</h1>
527
527
In scientific notation, this slot affects the sign display of the mantissa but not the exponent.
528
528
</li>
529
529
<li>[[RoundingIncrement]] is an integer that evenly divides 10, 100, 1000, or 10000 into tenths, fifths, quarters, or halves. It indicates the increment at which rounding should take place relative to the calculated rounding magnitude. For example, if [[MaximumFractionDigits]] is 2 and [[RoundingIncrement]] is 5, then formatted numbers are rounded to the nearest 0.05 ("nickel rounding").</li>
530
-
<li>[[RoundingMode]] is one of the String values in the Identifier column of <emu-xrefhref="#table-intl-rounding-modes"></emu-xref>, specifying which rounding mode to use.</li>
530
+
<li>[[RoundingMode]] is a <dfnid="rounding-mode">rounding mode</dfn>, one of the String values in the Identifier column of <emu-xrefhref="#table-intl-rounding-modes"></emu-xref>.</li>
531
531
<li>[[TrailingZeroDisplay]] is one of the String values *"auto"* or *"stripIfInteger"*, indicating whether to strip trailing zeros if the formatted number is an integer (i.e., has no non-zero fraction digit).</li>
): a specification type from the Unsigned Rounding Mode column of <emu-xrefhref="#table-intl-unsigned-rounding-modes"></emu-xref>
1672
1672
</h1>
1673
1673
<dlclass="header">
1674
1674
<dt>description</dt>
1675
-
<dd>It returns the rounding mode that should be applied to the absolute value of a number to produce the same result as if _roundingMode_, one of the String values in the Identifier column of <emu-xrefhref="#table-intl-rounding-modes"></emu-xref>, were applied to the signed value of the number (negative if _sign_ is ~negative~, or positive otherwise).</dd>
1675
+
<dd>It returns the <emu-not-ref>rounding mode</emu-not-ref> that should be applied to the absolute value of a number to produce the same result as if _roundingMode_ were applied to the signed value of the number (negative if _sign_ is ~negative~, or positive otherwise).</dd>
1676
1676
</dl>
1677
1677
<emu-alg>
1678
1678
1. Return the specification type in the Unsigned Rounding Mode column of <emu-xrefhref="#table-intl-unsigned-rounding-modes"></emu-xref> for the row where the value in the Identifier column is _roundingMode_ and the value in the Sign column is _sign_.
Copy file name to clipboardExpand all lines: spec/pluralrules.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -235,7 +235,7 @@ <h1>Properties of Intl.PluralRules Instances</h1>
235
235
<li>[[RoundingType]] is one of the values ~fraction-digits~, ~significant-digits~, ~more-precision~, or ~less-precision~, indicating which rounding strategy to use, as discussed in <emu-xrefhref="#sec-properties-of-intl-numberformat-instances"></emu-xref>.</li>
236
236
<li>[[ComputedRoundingPriority]] is one of the String values *"auto"*, *"morePrecision"*, or *"lessPrecision"*. It is only used in <emu-xrefhref="#sec-intl.pluralrules.prototype.resolvedoptions"></emu-xref> to convert [[RoundingType]] back to a valid *"roundingPriority"* option.</li>
237
237
<li>[[RoundingIncrement]] is an integer that evenly divides 10, 100, 1000, or 10000 into tenths, fifths, quarters, or halves. It indicates the increment at which rounding should take place relative to the calculated rounding magnitude. For example, if [[MaximumFractionDigits]] is 2 and [[RoundingIncrement]] is 5, then formatted numbers are rounded to the nearest 0.05 ("nickel rounding").</li>
238
-
<li>[[RoundingMode]] is one of the String values in the Identifier column of <emu-xrefhref="#table-intl-rounding-modes"></emu-xref>, specifying which rounding mode to use.</li>
238
+
<li>[[RoundingMode]] identifies the rounding mode to use.</li>
239
239
<li>[[TrailingZeroDisplay]] is one of the String values *"auto"* or *"stripIfInteger"*, indicating whether to strip trailing zeros if the formatted number is an integer (i.e., has no non-zero fraction digit).</li>
0 commit comments