i love computers, they are so good at computing:

> 1.2 + 1.2
=> 2.4
> 1.2 + 2.2
=> 3.4000000000000004

@colt Ruby in this case, but any language that implements floating point math will have the same issue

@meena Correct. Python with Decimal 1.2 + 2.2 = 3.400000000000000133226762955 🙈​

Inscrivez-vous pour prendre part à la conversation
nanao

Comme le soleil, les machines ne se couchent jamais.