Loading

NEXTAFTER

math

The NEXTAFTER function consumes two numeric parameter from the top of the stack and pushes back the DOUBLE adjacent to the first argument in the direction of the second argument. In other words, the result is between from and to and adjacent to from.

Since 2.6.0, this function can be applied to a list of numeric values.

NEXTAFTER is available since version 1.0.0.

See also

Signatures

Examples

5 100 NEXTAFTER 5.5 1 NEXTAFTER