Đang tải bảng tin…
Computers store numbers in binary (base-2), which means simple decimal values like 0.1 or 0.2 cannot be represented exactly — only approximated. When these tiny rounding errors accumulate across millions of financial transactions, balances can drift and even be exploited to generate money from nothing. This forced the financial industry to abandon floating-point numbers entirely in favor of integer-based storage to guarantee precision in every monetary calculation.
Nguồn: https://www.freecodecamp.org/news/why-computers-can-t-count-money. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.