Answers for "kotlin round to nearest int half_up"

1

rounding in kotlin double to int

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

Code answers related to "kotlin round to nearest int half_up"

Browse Popular Code Answers by Language