Why does App Inventor make mistakes with decimals?

Why does App Inventor make mistakes with decimals?

1*.0000000001 = 0.0000000001000000000000000036432197315498

_36432197315498 It shouldn't exist

1*.000001 = 0.0000009999999999999999547481118258862587

floating-point imprecision is a common issue in many systems, not just App Inventor. For critical calculations that require exact decimal values, it's best to work with integers or round the results appropriately.

1 Like

See the first few links