[#BloombergLP-bdldfp-DecimalImpUtil-quantize-0e0]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::quantize
:relfileprefix: ../../../
:mrdocs:

`quantize` overloads

== Synopses

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

Return `value` with the quantum of `exponent`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[DecimalImpUtil::ValueType128]
xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-09.adoc[quantize](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] value,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-09.adoc[_» more&period;&period;&period;_]#

Return `value` quantized to the specified `exponent`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[DecimalImpUtil::ValueType128]
xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-04.adoc[quantize](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] value,
    int exponent);
----

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

Return `value` with the quantum of `exponent`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32]
xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-0c.adoc[quantize](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] value,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-0c.adoc[_» more&period;&period;&period;_]#

Return `value` quantized to the specified `exponent`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32]
xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-07.adoc[quantize](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] value,
    int exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-07.adoc[_» more&period;&period;&period;_]#

Return `value` with the quantum of `exponent`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[DecimalImpUtil::ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-0eb.adoc[quantize](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] value,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-0eb.adoc[_» more&period;&period;&period;_]#

Return `value` quantized to the specified `exponent`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[DecimalImpUtil::ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-0f.adoc[quantize](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] value,
    int exponent);
----

[.small]#xref:BloombergLP/bdldfp/DecimalImpUtil/quantize-0f.adoc[_» more&period;&period;&period;_]#

== Return Value

* `value` with the quantum of `exponent`
* `value` quantized to the specified `exponent`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| value to quantize
| *exponent*
| value supplying the target quantum
|===


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