[#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`. == Synopses Declared in `<bdldfp_decimalimputil.h>` Return `x` rounded to the nearest `long int`. [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..._]# Return `x` rounded to the nearest `long int`. [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..._]# Return `x` rounded to the nearest `long int`. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#