techtalkbook.com
why 0.1 + 0.2 does not equal to 0.3? - Technolize Your Future
why 0.1 + 0.2 does not equal to 0.3? Is floating point math broken? Nope. It is the way computer do the arithemetic operation for floating point numbers.