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

`subtract` overloads

== Synopses

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

Return the difference of the specified decimal values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[DecimalImpUtil::ValueType128]
xref:BloombergLP/bdldfp/DecimalImpUtil/subtract-06.adoc[subtract](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] lhs,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] rhs);
----

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

Subtract the value of the specified `rhs` from the value of the specified `lhs` as described by IEEE&hyphen;754 and return the result&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32]
xref:BloombergLP/bdldfp/DecimalImpUtil/subtract-02.adoc[subtract](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] lhs,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] rhs);
----

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

Return the difference of the specified decimal values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[DecimalImpUtil::ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/subtract-00.adoc[subtract](
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] lhs,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] rhs);
----

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


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