Same as the related overload above for trunc.
Declared in <bdldfp_decimalutil.h>
static
Decimal64
trunc(
Decimal64 x,
unsigned int precision);
x truncated to the specified number of decimal places
| Name | Description |
|---|---|
| x | value to truncate |
| precision | number of decimal places to retain |