Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
println(19.45.toInt)
println(19.toFloat)
println(19.toDouble)
println(19.toLong)
val a = 100
val b = a.toFloat
println(b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment