mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
- remove en_US postfix - remove translated files (translation were moved to ts files earlier) - remove unused jQuery (python help doesn't use it anymore) - change expression label in QgsQueryBuilder and add context help (partly fixes #8129)
21 lines
639 B
Plaintext
21 lines
639 B
Plaintext
<h3>round() function</h3>
|
|
Rounds a number to number of decimal places.
|
|
<br>
|
|
This function can take one or two arguments depending on what is needed.
|
|
<h4>Syntax</h4>
|
|
<code>round(decimal,places)</code><br>
|
|
<code>round(decimal)</code><br>
|
|
|
|
<h4>Arguments</h4>
|
|
<code>decimal</code> - is decimal. The decimal number to be rounded.
|
|
<br>
|
|
<code>places</code> - is int. The number of places to round decimal too. Can be negative.
|
|
|
|
<h4>Example</h4>
|
|
<!-- Show example of function.-->
|
|
<code>round(1234.567, 2 ) → 1234.57</code><br>
|
|
use <code>round(decimal)</code> to round to the nearest integer<br>
|
|
<code>round(1234.567) → 1235</code><br>
|
|
|
|
|