Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
663 B
Plaintext
Raw Permalink Normal View History

{
"name": "to_real",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["Conversions"],
"description": "Converts a string to a real number. If a value cannot be converted to real the expression is invalid (e.g '123.56asd' is invalid). Numbers are rounded after saving changes if the precision is smaller than the result of the conversion.",
"arguments": [{
"arg": "string",
"description": "string to convert to real number"
}],
"examples": [{
"expression": "to_real('123.45')",
"returns": "123.45"
}],
"tags": ["converts", "precision", "invalid", "rounded", "numbers", "changes", "real", "result", "converted", "saving", "conversion", "smaller"]
}