Same as the related overload above for trunc.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal64
trunc(Decimal64 x);

Return Value

nearest integral value not greater in magnitude than x

Parameters

Name

Description

x

value to truncate toward zero

Created with MrDocs