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

`llrint` overloads

== Synopses

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

Same as the related overload above for `llrint`&period;


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

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/llrint-01.adoc[_» more&period;&period;&period;_]#

Return the integer nearest to `x` using the current rounding mode&period;


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

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/llrint-08.adoc[_» more&period;&period;&period;_]#

Same as the related overload above for `llrint`&period;


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

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/llrint-02.adoc[_» more&period;&period;&period;_]#

== Return Value

integer nearest to `x` as a `long long int`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| value to round to nearest long long
|===


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