uuuh... can someone explain to me why `(19.999996 ...
# announcements
s
uuuh... can someone explain to me why
(19.999996 * 100.0).roundToInt().toDouble() / 100.0
is sometimes 20.0 and sometimes 0.0? this is really unexpected ^^
n
can you provide a playground link for that snippet?
n
🤷‍♂️
s
🤯
i dont know what to say there 😄
n
maybe the line with
y
hasn't actually executed yet
🤔 1
s
so it skipped the assignment and just ran ahead with y==0.0... thats weird ^^