kotlin-wasm Questions
2
Let's imagine something like this:
var num: Float = 0.0f
num = 2.4 * 3.5 / 3.8
num has several decimals, but I want only 2.
In JS I would use num.toFixed(2).
Other answers here suggest to use &quo...
Croner asked 14/3, 2017 at 16:30
1
© 2022 - 2024 — McMap. All rights reserved.