From 7414f0d0d3b39f11985df4b410e0d186e660bcd1 Mon Sep 17 00:00:00 2001 From: vk2gpz Date: Sat, 7 Jan 2023 12:44:12 +1100 Subject: [PATCH] NumberFormtter now supports [:locale] option. --- Placeholders.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Placeholders.md b/Placeholders.md index c7996f8..d597fdb 100644 --- a/Placeholders.md +++ b/Placeholders.md @@ -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_#,##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. ``` - %nf__% # Converts a number produced by %other_placeholder% to a number using the specified format. + %nf_[:locale]_% # Converts a number produced by %other_placeholder% to a number using the specified format. ``` ----