Egor Trutenko
10/11/2018, 1:48 PMmap it.
doubleArray.map { it.toFloat() }
UPD
As was fairly noticed, map returns Array<Float>, which I overlooked. You need to additionally call toFloatArray() to avoid boxingdiesieben07
10/11/2018, 1:48 PMArray<Float>, which is using boxed Float objects.