[#BloombergLP-bdldfp-DecimalUtil-llrint-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::llrint
:relfileprefix: ../../../
:mrdocs:

Return an integer value nearest to the specified `x`&period; Round `x` using the current rounding mode&period; If `x` is &plus;&sol;&hyphen;infnity, NaN (either signaling or quiet) or the rounded value is outside the range of the return type, store the value of the macro `EDOM` into `errno` and return implementation&hyphen;defined value&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimalutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
long long
llrint(xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] x);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
