Did you know ... Search Documentation:
Function nexttoward/2