Return x rounded toward zero to an integral value.
Declared in <bdldfp_decimalimputil.h>
Return x rounded toward zero to an integral value.
static
DecimalImpUtil::ValueType128
trunc(ValueType128 x);
» more...
Return x rounded toward zero to an integral value.
static
DecimalImpUtil::ValueType32
trunc(ValueType32 x);
» more...
Return x rounded toward zero to an integral value.
static
DecimalImpUtil::ValueType64
trunc(ValueType64 x);
» more...
x rounded toward zero to an integral value
| Name | Description |
|---|---|
| x | value to truncate |