mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Standardise naming of all internal functions to lowercase with underscore convention. Add aliases for old names to avoid breakage.
14 lines
536 B
Plaintext
14 lines
536 B
Plaintext
<h3>to_real() 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>
|
|
to_real(<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.-->
|
|
to_real('123.45') → 123.45</p>
|