NumberFormtter now supports [:locale] option.

This commit is contained in:
vk2gpz 2023-01-07 12:44:12 +11:00 committed by GitHub
parent 165f91bf9a
commit 7414f0d0d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -826,12 +826,14 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can
%nf_4X_tokenenchant_token_long% will return 43B, %nf_4X_tokenenchant_token_long% will return 43B,
%nf_#,##0.#_tokenenchant_token_long% will return 43,535,709,321. %nf_#,##0.#_tokenenchant_token_long% will return 43,535,709,321
%nf_#,##0.0#:IT_tokenenchant_token_long% will return 43.535.709.321,0
`[]` is optional and `<>` is required. `[]` is optional and `<>` is required.
``` ```
%nf_<format>_<other_placeholder>% # Converts a number produced by %other_placeholder% to a number using the specified format. %nf_<format>[:locale]_<other_placeholder>% # Converts a number produced by %other_placeholder% to a number using the specified format.
``` ```
---- ----