[#BloombergLP-bdldfp-DecimalImpUtil-lround-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::lround :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/lround-0c1.adoc[lround](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] x); ---- [.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/lround-0c1.adoc[_» more..._]# Return `x` rounded to the nearest `long int`. [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 int`. [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..._]# == Return Value `x` rounded to the nearest `long int` == Parameters [cols="1,4"] |=== | Name| Description | *x* | value to round |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#