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