Return x rounded toward zero to an integral value.
Synopses
Declared in <bdldfp_decimalimputil.h>
Return x rounded toward zero to an integral value.
static
DecimalImpUtil::ValueType128
trunc(ValueType128 x);
Return x rounded toward zero to an integral value.
static
DecimalImpUtil::ValueType32
trunc(ValueType32 x);
Return x rounded toward zero to an integral value.
static
DecimalImpUtil::ValueType64
trunc(ValueType64 x);
Return Value
x rounded toward zero to an integral value
Parameters
Name |
Description |
x |
value to truncate |
Created with MrDocs