From 2dfcd03423e4c334ad004687c5cca144e5c063ad Mon Sep 17 00:00:00 2001 From: vk2gpz Date: Sat, 7 Jan 2023 12:10:59 +1100 Subject: [PATCH] added an entry for NumberFormatter --- Placeholders.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Placeholders.md b/Placeholders.md index 35a58cc..5ae87c5 100644 --- a/Placeholders.md +++ b/Placeholders.md @@ -66,7 +66,7 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - **[MySQLTokens](#mysqltokens)** - ### **N** - - *No Expansions* + - **[NumberFormatter](#numberformatter)** - ### **O** - **[OtherPlayer](#otherplayer)** @@ -815,6 +815,25 @@ A majority of these Expansions are maintained by the PlaceholderAPI team and can ---- +- ### **NumberFormatter** + > /papi ecloud download NumberFormatter + + More info about this expansion can be found on the [PAPI-NumberFormatter](https://polymart.org/resource/3316)). + For instance: + if %tokenenchant_token_long% returns 43535709321 + + %nf_4X_tokenenchant_token_long% will return 43B, + + %nf_#,##0.#_tokenenchant_token_long% will return 43,535,709,321. + + `[]` is optional and `<>` is required. + + ``` + %nf__% # Converts a number produced by %other_placeholder% to a number using the specified format. + ``` + +---- + - ### **OtherPlayer** > /papi ecloud download OtherPlayer