From 1f029672b123b09080109599b4d4c0f2a17853f4 Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Mon, 17 Feb 2025 15:38:00 +0200 Subject: [PATCH 1/2] Require digit size to support values 0-99 --- spec/functions/number.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/functions/number.md b/spec/functions/number.md index 6462e87b08..d39ae3d5cf 100644 --- a/spec/functions/number.md +++ b/spec/functions/number.md @@ -640,7 +640,8 @@ such as the number of fraction, integer, or significant digits. A "digit size option" is an _option_ value that the _function_ interprets as a small integer value greater than or equal to zero. Implementations MAY define an upper limit on the _resolved value_ -of a digit size option option consistent with that implementation's practical limits. +of a digit size option option consistent with that implementation's practical limits, +as long as all integer values from 0 to 99 (inclusive) are supported. In most cases, the value of a digit size option will be a string that encodes the value as a non-negative integer. From be093d97b368ba12a51bf8c7f3214e8c783c266b Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Mon, 17 Feb 2025 17:53:18 +0200 Subject: [PATCH 2/2] One less option --- spec/functions/number.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/functions/number.md b/spec/functions/number.md index d39ae3d5cf..badc996fb0 100644 --- a/spec/functions/number.md +++ b/spec/functions/number.md @@ -640,7 +640,7 @@ such as the number of fraction, integer, or significant digits. A "digit size option" is an _option_ value that the _function_ interprets as a small integer value greater than or equal to zero. Implementations MAY define an upper limit on the _resolved value_ -of a digit size option option consistent with that implementation's practical limits, +of a digit size option consistent with that implementation's practical limits, as long as all integer values from 0 to 99 (inclusive) are supported. In most cases, the value of a digit size option will be a string that