kotlin cast types
snippet in kotlin

kotlin cast types

user9626

val myInt: Int = 1.0 as Int