Returns the Double value nearest to this value in direction from this value towards the value to.
to
num nextTowards(num to) => to.floorToDouble();