Merge commit '838bd312b1a287bb33962ad478dbc54737654f35'

This commit is contained in:
Bjørn Erik Pedersen
2024-11-18 10:11:18 +01:00
7 changed files with 12 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ action:
aliases: ['/functions/numfmt/']
---
This function formats a number with the given precision. The first options parameter is a space-delimited string of characters to represent negativity, the decimal point, and grouping. The default value is `- . ,`. The second options parameter defines an alternate delimiting character.
This function formats a number with the given precision. The first options parameter is a space-delimited string of characters to represent negativity, the decimal point, and grouping. The default value is `- . ,`. The second options parameter defines an alternative delimiting character.
Note that numbers are rounded up at 5 or greater. So, with precision set to 0, 1.5 becomes 2, and 1.4 becomes 1.