[#BloombergLP-bdldfp-DecimalUtil-lround-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::lround
:relfileprefix: ../../../
:mrdocs:

`lround` overloads

== Synopses

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

Same as the overload taking `Decimal64`&period;


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

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

Return the integral value nearest to `x` as a `long int`&period;


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

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

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


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

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/lround-0e.adoc[_» more&period;&period;&period;_]#

== Return Value

integral value nearest to `x` as a `long int`

== Parameters

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


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