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