Answers for "kotlin double round to 2 decimal places"

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 double round to 2 decimal places"

Browse Popular Code Answers by Language