LastExceed
listOf(1,2,3).sumOf { it.toDouble() } //works fine listOf(1,2,3).sumOf { it.toFloat() } //error: no applicable overload
Sam
Considering that workaround exists, we decided that overloads for Float do not pull their weight
Float
ilya.gorbunov
UInt
BigInteger
ephemient
Byte
Short
FloatMath
Math
Double
A modern programming language that makes developers happier.