mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
14 lines
523 B
Plaintext
14 lines
523 B
Plaintext
|
<h3>toreal function</h3>
|
||
|
Converts a string to real number. Nothing changed 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.
|
||
|
|
||
|
<p><h4>Syntax</h4>
|
||
|
toreal(<i>string</i>)</p>
|
||
|
|
||
|
<p><h4>Arguments</h4>
|
||
|
<!-- List args for functions here-->
|
||
|
<i> string</i> -> is string. The String to convert to real number.</p>
|
||
|
|
||
|
<p><h4>Example</h4>
|
||
|
<!-- Show example of function.-->
|
||
|
toreal('123.45') -> 123.45</p>
|