[#BloombergLP-bdldfp-DecimalImpUtil-lrint-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::lrint
:relfileprefix: ../../../
:mrdocs:

Return `x` rounded to the nearest `long int` using the current mode&period;

== Synopses

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

Return `x` rounded to the nearest `long int` using the current mode&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
long
xref:BloombergLP/bdldfp/DecimalImpUtil/lrint-0b.adoc[lrint](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] x);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/lrint-0b.adoc[_» more&period;&period;&period;_]#

Return `x` rounded to the nearest `long int` using the current mode&period;


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

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

Return `x` rounded to the nearest `long int` using the current mode&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
long
xref:BloombergLP/bdldfp/DecimalImpUtil/lrint-0a.adoc[lrint](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] x);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/lrint-0a.adoc[_» more&period;&period;&period;_]#

== Return Value

`x` rounded to the nearest `long int` using the current mode

== Parameters

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


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