Trunc
The Trunc function truncates a number, removing the fractional part.
Definition
Trunc(valor)Parameters
| Name | Description | Data type |
|---|---|---|
| valor | Value to truncate | numeric |
Example
In this example, the truncated value of 24.899 is obtained:
Trunc(24.899)The result is 24 (numeric value).