lround overloads

Synopses

Declared in <bdldfp_decimalutil.h>

Same as the overload taking Decimal64.

static
long
lround(Decimal128 x);

Return the integral value nearest to x as a long int.

static
long
lround(Decimal32 x);

Same as the related overload above for lround.

static
long
lround(Decimal64 x);

Return Value

integral value nearest to x as a long int

Parameters

Name

Description

x

value to round to nearest long int

Created with MrDocs