Alejandro Rios
12/23/2024, 10:54 PMval 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:
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?Chrimaeon
12/24/2024, 9:40 AM