mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
9 lines
458 B
Plaintext
9 lines
458 B
Plaintext
{
|
|
"name": "to_real",
|
|
"type": "function",
|
|
"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"}
|
|
]
|
|
}
|