https://kotlinlang.org logo
#getting-started
Title
# getting-started
h

hastebrot

04/15/2016, 6:37 AM
@fmd: I would recommend that.
val result: Int = 9f.toInt() / 2f
does not work, since
2f
is by design not automatically converted.
val result: Int = 9f.toInt() / 2f.toInt()
does not make sense, since it will return
0
.