toInt

kotlin-stdlib / kotlin / Number / toInt
 

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.3) abstract fun toInt(): Int 
 Returns the value of this number as an Int, which may involve rounding or truncation. 


    
{'path': 'public/docs/kotlin~1.4/api/latest/jvm/stdlib/kotlin/-number/to-int.html', 'source': 'DevDocs.IO'}