[#BloombergLP-bdldfp-DecimalImpUtil-nextafter-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalImpUtil.adoc[DecimalImpUtil]::nextafter
:relfileprefix: ../../../
:mrdocs:

Return the next representable value after `from` toward `to`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[DecimalImpUtil::ValueType64]
nextafter(
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] from,
    xref:BloombergLP/bdldfp/DecimalImpUtil/ValueType64.adoc[ValueType64] to);
----

== Return Value

the next representable value after `from` toward `to`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *from*
| starting value
| *to*
| direction value
|===


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