[#BloombergLP-bdldfp-DecimalImpUtil-lround-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::lround :relfileprefix: ../../../ :mrdocs: `lround` overloads == Synopses Declared in `<bdldfp_decimalimputil.h>` Return `x` rounded to the nearest `long` value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static long xref:BloombergLP/bdldfp/DecimalImpUtil/lround-0c1.adoc[lround](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] x); ---- [.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/lround-0c1.adoc[_» more..._]# Return the integral value nearest to the specified `x`. Round halfway cases away from zero, regardless of the current decimal floating point rounding mode. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static long xref:BloombergLP/bdldfp/DecimalImpUtil/lround-04.adoc[lround](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] x); ---- [.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/lround-04.adoc[_» more..._]# Return `x` rounded to the nearest `long` value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static long xref:BloombergLP/bdldfp/DecimalImpUtil/lround-0c4.adoc[lround](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] x); ---- [.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/lround-0c4.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#