kotlin-stdlib / kotlin.random / Random / nextFloat nextFloat Common JVM JS Native 1.0 open fun nextFloat(): Float fun nextFloat(): Float Gets the next random Float value uniformly distributed between 0 (inclusive) and 1 (exclusive).