1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-28 00:04:04 -04:00

10 lines
501 B
Plaintext

{
"name": "format_number",
"type": "function",
"description": "Returns a number formatted with the locale separator for thousands. Also truncates the number to the number of supplied places.",
"arguments": [ {"arg":"number","description":"number to be formatted"},
{"arg":"places","description":"integer representing the number of decimal places to truncate the string to."}],
"examples": [ { "expression":"format_number(10000000.332,2)", "returns":"'10,000,000.33'"}
]
}