Hello, not sure if this happened to anyone else, s...
# compose-web
a
Hello, not sure if this happened to anyone else, so here's a question: I have this "formula" in KMP:
Copy code
val number = (floor((wordsGuessed.size / result.size.toFloat()).times(100.0) * 10 + 0.5) / 10).toFloat()
The result is a percentage "progress", I tested this in Android/Desktop/JS and it works ok, but Wasm is not, having for example:
Copy code
wordsGuessed.size = 5
result.size = 35
on Android/Desktop/JS the result is
14.3
, but Wasm is
14.300000190734863
, any ideas why is this happening?