Builtin.com

Why 0.1 + 0.2 Doesn't Equal 0.3 in Programming

Why 0.1 + 0.2 Doesn't Equal 0.3 in Programming

In code, 0.1 + 0.2 doesn't equal 0.3 due to floating point arithmetic. Learn why that is and how floating point arithmetic works.

Tên miền: builtin.com Đọc thêm