12 October 2026
Exact arithmetic without silent rounding
In TypeScript, 0.1 + 0.2 === 0.3 is false; the sum is 0.30000000000000004. The equality check fails because binary floating-point can’t represent some decimal fractions exactly.
Read articleArticles · Topic
12 October 2026
In TypeScript, 0.1 + 0.2 === 0.3 is false; the sum is 0.30000000000000004. The equality check fails because binary floating-point can’t represent some decimal fractions exactly.
Read article