[#BloombergLP-bdldfp-DecimalUtil-nexttoward-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalUtil.adoc[DecimalUtil]::nexttoward
:relfileprefix: ../../../
:mrdocs:

`nexttoward` overloads

== Synopses

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

Same as the overload taking `Decimal64`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128]
xref:BloombergLP/bdldfp/DecimalUtil/nexttoward-01.adoc[nexttoward](
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] from,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] to);
----

[.small]#xref:BloombergLP/bdldfp/DecimalUtil/nexttoward-01.adoc[_» more&period;&period;&period;_]#

Return the next representable value of the specified `from` in the direction of the specified `to`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32]
xref:BloombergLP/bdldfp/DecimalUtil/nexttoward-08.adoc[nexttoward](
    xref:BloombergLP/bdldfp/Decimal32.adoc[Decimal32] from,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] to);
----

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

Same as the related overload above for `nexttoward`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64]
xref:BloombergLP/bdldfp/DecimalUtil/nexttoward-02.adoc[nexttoward](
    xref:BloombergLP/bdldfp/Decimal64.adoc[Decimal64] from,
    xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128] to);
----

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


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