Answers for "kotlin double to int"

1

kotlin double to int

// Make a double number and store it in value "double"
val double: Double = 1.3459808235
// Convert the double to and interger and store it in value "int"
val int : Int = double.toInt()
Posted by: Guest on March-12-2022

Browse Popular Code Answers by Language