kotlin remove decimal point and keep the float value code example
Example: Kotlin round double string
val number = 10.7086134
val rounded = String.format("%.3f", number) // rounds to 3 decimal places
val number = 10.7086134
val rounded = String.format("%.3f", number) // rounds to 3 decimal places