nextTowards
Returns the Double value nearest to this value in direction from this value towards the value to.
Special cases:
x.nextTowards(y)
isNaN
if eitherx
ory
areNaN
x.nextTowards(x) == x
Since Kotlin
1.2Returns the Double value nearest to this value in direction from this value towards the value to.
Special cases:
x.nextTowards(y)
isNaN
if eitherx
ory
areNaN
x.nextTowards(x) == x
Since Kotlin
1.2Returns the Float value nearest to this value in direction from this value towards the value to.
Special cases:
x.nextTowards(y)
isNaN
if eitherx
ory
areNaN
x.nextTowards(x) == x
Since Kotlin
1.2Returns the Double value nearest to this value in direction from this value towards the value to.
Special cases:
x.nextTowards(y)
isNaN
if eitherx
ory
areNaN
x.nextTowards(x) == x