[#BloombergLP-bdldfp-DecimalImpUtil-round-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::round :relfileprefix: ../../../ :mrdocs: Return `x` rounded to the specified `precision`. == Synopsis Declared in `<bdldfp_decimalimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] round( xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] x, unsigned int precision); ---- == Return Value `x` rounded to the specified `precision` == Parameters [cols="1,4"] |=== | Name| Description | *x* | value to round | *precision* | number of digits after the decimal point |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#