Answers for "kotlin round number to int"

1

rounding in kotlin double to int

val a : Double = 3.45
val b : Int = a.roundToInt()
Posted by: Guest on February-01-2022

Browse Popular Code Answers by Language