W3cubDocs

/Kotlin

nextDown

inline fun Double.nextDown(): Double

Platform and version requirements: Kotlin 1.2

Returns the Double value nearest to this value in direction of negative infinity.

inline fun Float.nextDown(): Float

Platform and version requirements: Kotlin 1.2, JVM

Returns the Float value nearest to this value in direction of negative infinity.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.math/next-down.html