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