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
@@ -228,6 +235,7 @@ <h1>Properties of Intl.PluralRules Instances</h1>
228
235
<ul>
229
236
<li>[[Locale]] is a String value with the language tag of the locale whose localization is used by the plural rules.</li>
230
237
<li>[[Type]] is one of the String values *"cardinal"* or *"ordinal"*, identifying the plural rules used.</li>
238
+
<li>[[Notation]] is one of the String values *"standard"*, *"scientific"*, *"engineering"*, or *"compact"*, identifying the notation used.</li>
231
239
<li>[[MinimumIntegerDigits]] is a non-negative integer indicating the minimum integer digits to be used.</li>
232
240
<li>[[MinimumFractionDigits]] and [[MaximumFractionDigits]] are non-negative integers indicating the minimum and maximum fraction digits to be used. Numbers will be rounded or padded with trailing zeroes if necessary.</li>
233
241
<li>[[MinimumSignificantDigits]] and [[MaximumSignificantDigits]] are positive integers indicating the minimum and maximum fraction digits to be used. Either none or both of these properties are present; if they are, they override minimum and maximum integer and fraction digits.</li>
@@ -247,12 +255,13 @@ <h1>
247
255
PluralRuleSelect (
248
256
_locale_: a language tag,
249
257
_type_: *"cardinal"* or *"ordinal"*,
258
+
_notation_: a String,
250
259
_s_: a decimal String,
251
260
): *"zero"*, *"one"*, *"two"*, *"few"*, *"many"*, or *"other"*
252
261
</h1>
253
262
<dlclass="header">
254
263
<dt>description</dt>
255
-
<dd>The returned String characterizes the plural category of _s_ according to the effective locale and the options of _pluralRules_.</dd>
264
+
<dd>The returned String characterizes the plural category of _s_ according to _locale_, _type_and _notation_.</dd>
256
265
</dl>
257
266
</emu-clause>
258
267
@@ -275,7 +284,8 @@ <h1>
275
284
1. Let _s_ be _res_.[[FormattedString]].
276
285
1. Let _locale_ be _pluralRules_.[[Locale]].
277
286
1. Let _type_ be _pluralRules_.[[Type]].
278
-
1. Let _p_ be PluralRuleSelect(_locale_, _type_, _s_).
287
+
1. Let _notation_ be _pluralRules_.[[Notation]].
288
+
1. Let _p_ be PluralRuleSelect(_locale_, _type_, _notation_, _s_).
279
289
1. Return the Record { [[PluralCategory]]: _p_, [[FormattedString]]: _s_ }.
280
290
</emu-alg>
281
291
</emu-clause>
@@ -285,13 +295,14 @@ <h1>
285
295
PluralRuleSelectRange (
286
296
_locale_: a String,
287
297
_type_: *"cardinal"* or *"ordinal"*,
298
+
_notation_: a String,
288
299
_xp_: *"zero"*, *"one"*, *"two"*, *"few"*, *"many"*, or *"other"*,
289
300
_yp_: *"zero"*, *"one"*, *"two"*, *"few"*, *"many"*, or *"other"*,
290
301
): *"zero"*, *"one"*, *"two"*, *"few"*, *"many"*, or *"other"*
291
302
</h1>
292
303
<dlclass="header">
293
304
<dt>description</dt>
294
-
<dd>It performs an implementation-dependent algorithm to map the <emu-xrefhref="#sec-pluralruleselect">plural category</emu-xref> String values _xp_ and _yp_, respectively characterizing the start and end of a range, to a resolved String value for the plural form of the range as a whole denoted by _type_ for the corresponding _locale_, or the String value *"other"*.</dd>
305
+
<dd>It performs an implementation-dependent algorithm to map the <emu-xrefhref="#sec-pluralruleselect">plural category</emu-xref> String values _xp_ and _yp_, respectively characterizing the start and end of a range, to a resolved String value for the plural form of the range as a whole denoted by _type_and _notation_for the corresponding _locale_, or the String value *"other"*.</dd>
0 commit comments