[#BloombergLP-bdldfp-DecimalImpUtil-trunc-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::trunc
:relfileprefix: ../../../
:mrdocs:

`trunc` overloads

== Synopses

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

Return the nearest integral value not greater in absolute value than `x`&period;


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

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

Return the nearest integral value that is not greater in absolute value than the specified `x`&period;


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

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

Return the nearest integral value not greater in absolute value than `x`&period;


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

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


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