TRUNC
A number with its fraction cut off, towards 0.
Syntax
TRUNC(x)
| Argument | Meaning |
|---|---|
| x | A number. |
Result
A whole number.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
TRUNC(2.7) |
2 |
TRUNC(-2.7) |
-2 |
TRUNC(7/2) |
3 |
TRUNC(1'6 3/4") |
1'6" |
A number with its fraction cut off, towards 0.
TRUNC(x)
| Argument | Meaning |
|---|---|
| x | A number. |
A whole number.
In the example drawing:
| Expression | Gives |
|---|---|
TRUNC(2.7) |
2 |
TRUNC(-2.7) |
-2 |
TRUNC(7/2) |
3 |
TRUNC(1'6 3/4") |
1'6" |
Essential cookies keep the site working and are always on. We use analytics cookies to understand how visitors use our site, and marketing cookies to help us improve the site and our services. You can choose which types of cookies you want to allow. Learn more in our Privacy Policy.