Same as the related overload above for round.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
Decimal128
round(Decimal128 x);

Return Value

integral value nearest to x

Parameters

Name

Description

x

value to round to nearest integral decimal

Created with MrDocs