[#BloombergLP-bdldfp-DecimalImpUtil-round-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::round
:relfileprefix: ../../../
:mrdocs:

Round the specified `x` to the specified `precision`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128]
round(
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] x,
    unsigned int precision);
----


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