Return the integer nearest to x using the current rounding mode.

Synopsis

Declared in <bdldfp_decimalutil.h>

static
long
lrint(Decimal32 x);

Return Value

integer nearest to x as a long int

Parameters

Name

Description

x

value to round to nearest long int

Created with MrDocs