TRUNC¶
Rounds a number to its integer representation towards 0.
Note
This function is overloaded. The function TRUNC can also modify the precision of DATE
and DATETIME
values.
See also ROUND.
Syntax¶
TRUNC( expr )
Arguments¶
Parameter |
Description |
---|---|
|
Numeric expression |
Returns¶
Returns the same type as the argument supplied.
Notes¶
If the input value is NULL, the result is NULL.