syntax:functions:mround
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
syntax:functions:mround [2021/09/07 11:19] – created craigt | syntax:functions:mround [2022/11/06 17:10] (current) – [Remarks] dmitry | ||
---|---|---|---|
Line 16: | Line 16: | ||
\\ | \\ | ||
=====Remarks===== | =====Remarks===== | ||
- | MRound rounds a grain value of 5 and less down, and greater than 5, up. See Examples below. | + | MRound |
Line 24: | Line 24: | ||
mround(5.3, 0.5) //Returns 5.5 | mround(5.3, 0.5) //Returns 5.5 | ||
- | mround(10.05, | + | mround(10.05, |
- | mround(10.06, 0.1) //Returns 10.1 (greater than .05 rounds | + | mround(10.15, 0.1) //Returns 10.2 (bankers rounding |
mround(20.78, | mround(20.78, |
syntax/functions/mround.txt · Last modified: 2022/11/06 17:10 by dmitry