TRUNC(numeric_value[,precision] )
Argument
| Required/
Optional
| Description
|
---|---|---|
numeric_value
| Required
| Numeric datatype. Passes the values you want to truncate. You can enter any valid expression that evaluates to a Numeric datatype.
|
precision
| Optional
| Can be a positive or negative integer. You can enter any valid expression that evaluates to an integer. The integer specifies the number of digits to truncate.
|
TRUNC( PRICE, 3 )
|
|
---|---|
|
|
|
|
|
|
|
|
|
|
TRUNC( PRICE, -1 )
|
|
---|---|
|
|
|
|
|
|
|
|
|
|
TRUNC( PRICE )
|
|
---|---|
|
|
|
|
|
|
|
|
|
|