Skip to content

Commit e0a4b07

Browse files
authored
Merge pull request #301 from bgribaudo/patch-9
ROUND: Documenting how ties are broken
2 parents 91adbcb + b382bd4 commit e0a4b07

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

query-languages/dax/round-function-dax.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ A decimal number.
3333

3434
- If `num_digits` is less than 0, the number is rounded to the left of the decimal point.
3535

36+
- Ties are broken by rounding half away from zero (also known as commercial rounding).
37+
| Examples | Result |
38+
| --- | --- |
39+
| `= ROUND(1.15, 1)` | 1.2 |
40+
| `= ROUND(-1.15, 1)` | -1.2 |
41+
3642
- Related functions
3743
- To always round up (away from zero), use the ROUNDUP function.
3844
- To always round down (toward zero), use the ROUNDDOWN function.

0 commit comments

Comments
 (0)