Application Integration
- Application Integration
- All Products
util:trunc(arg,precision)
Argument
| Required/
Optional
| Description
|
---|---|---|
arg
| Required
| Numeric data type. Passes the argument that you want to truncate. You can enter any valid expression that evaluates to a numeric data type.
|
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.
|
util:trunc(PRICE, 3)
|
|
---|---|
|
|
|
|
|
|
|
|
util:trunc(PRICE, -1)
|
|
---|---|
|
|
|
|
|
|
|
|
util:trunc(PRICE )
|
|
---|---|
|
|
|
|
|
|
|
|