mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
16 lines
657 B
Plaintext
16 lines
657 B
Plaintext
{
|
|
"name": "to_real",
|
|
"type": "function",
|
|
"groups": ["Conversions"],
|
|
"description": "Converts a string to a real number. Nothing is returned if a value cannot be converted to real (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"]
|
|
}
|