Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions spec/functions/number.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,8 @@ The _function_ `:offset` performs selection as described in [Number Selection](#

#### The `:currency` function

> [!IMPORTANT]
> The _function_ `:currency` has a status of **Draft**.
> It is proposed for inclusion in a future release of this specification and is not Stable.

The _function_ `:currency` is a _formatter_ for currency values,
which are a specialized form of numeric formatting.
which is a specialized form of numeric formatting.

##### `:currency` Operands

Expand Down
13 changes: 7 additions & 6 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,13 @@ Tests for such features have a `tags` array attached to them
to mark the features that they rely on.
This may include one or more of the following:

| Tag | Feature |
| ---------- | ------------------------------------------------------------------------- |
| `:percent` | The [:percent](../spec/functions/number.md#the-percent-function) function |
| `u:dir` | The [u:dir](../spec/u-namespace.md#udir) option |
| `u:id` | The [u:id](../spec/u-namespace.md#uid) option |
| `u:locale` | The [u:locale](../spec/u-namespace.md#ulocale) option |
| Tag | Feature |
| ----------- | --------------------------------------------------------------------------- |
| `:currency` | The [:currency](../spec/functions/number.md#the-currency-function) function |
| `:percent` | The [:percent](../spec/functions/number.md#the-percent-function) function |
| `u:dir` | The [u:dir](../spec/u-namespace.md#udir) option |
| `u:id` | The [u:id](../spec/u-namespace.md#uid) option |
| `u:locale` | The [u:locale](../spec/u-namespace.md#ulocale) option |

## Test Functions

Expand Down
1 change: 1 addition & 0 deletions test/schemas/v0/tests.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
"type": "array",
"items": {
"enum": [
":currency",
":percent",
"u:dir",
"u:id",
Expand Down
3 changes: 2 additions & 1 deletion test/tests/functions/currency.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"$schema": "../../schemas/v0/tests.schema.json",
"scenario": "Currency function",
"description": "The built-in formatter and selector for currencies.",
"description": "The built-in formatter for currencies.",
"defaultTestProperties": {
"tags": [":currency"],
"bidiIsolation": "none",
"locale": "en-US",
"expErrors": []
Expand Down