kotlin-stdlib / kotlin / Number / toInt toInt Common JVM JS Native 1.0 abstract fun toInt ( ) : Int (Common source) (Native source) Returns the value of this number as an Int , which may involve rounding or truncation.