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

Return the absolute value of `x`&period;

== Synopses

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

Return the absolute value of `x`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[DecimalImpUtil::ValueType128]
xref:BloombergLP/bdldfp/DecimalImpUtil/fabs-0d.adoc[fabs](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType128.adoc[ValueType128] x);
----

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

Return the absolute value of `x`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[DecimalImpUtil::ValueType32]
xref:BloombergLP/bdldfp/DecimalImpUtil/fabs-08.adoc[fabs](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType32.adoc[ValueType32] x);
----

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

Return the absolute value of `x`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[DecimalImpUtil::ValueType64]
xref:BloombergLP/bdldfp/DecimalImpUtil/fabs-0a.adoc[fabs](xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] x);
----

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

== Return Value

the absolute value of `x`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| value whose absolute value is returned
|===


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