Tudor Bărăscu b4b84813d3 Be clear that the expressions return invalid when they cannot convert
I got mislead by the "Nothing is returned if a value cannot be converted" as it led
me to believe I was expecting NULL.
2024-05-30 07:29:04 +10:00

16 lines
466 B
Plaintext

{
"name": "to_int",
"type": "function",
"groups": ["Conversions"],
"description": "Converts a string to integer number. If a value cannot be converted to integer the expression is invalid (e.g '123asd' is invalid).",
"arguments": [{
"arg": "string",
"description": "string to convert to integer number"
}],
"examples": [{
"expression": "to_int('123')",
"returns": "123"
}],
"tags": ["converts", "invalid", "converted", "integer"]
}