Skip to content

Fix rounding mode name - #152

Merged
eemeli merged 1 commit into
mainfrom
truncate-should-be-trunc
Aug 20, 2026
Merged

Fix rounding mode name#152
eemeli merged 1 commit into
mainfrom
truncate-should-be-trunc

Conversation

@jessealama

Copy link
Copy Markdown
Collaborator

Intl uses trunc not truncate. Earlier in the README we say that we intend to use the seven rounding modes supported by Intl. truncate isn't one of them.

Intl uses `trunc` not `truncate`. Earlier in the README we
say that we intend to use the seven rounding modes supported
by Intl. `truncate` isn't one of them.

Refs:

- https://tc39.es/ecma402/#rounding-mode
@jessealama
jessealama requested a review from eemeli August 20, 2026 15:37
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-20 17:34 UTC

@eemeli
eemeli merged commit 33dd9e7 into main Aug 20, 2026
3 checks passed
@eemeli
eemeli deleted the truncate-should-be-trunc branch August 20, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants