Kotlin Round Double String
val number = 10.7086134
val rounded = String.format("%.3f", number) // rounds to 3 decimal places
Promofo
val number = 10.7086134
val rounded = String.format("%.3f", number) // rounds to 3 decimal places