Yes, that's the actual value of the stored number. As a consequence of limited accuracy, it's impossible to precisely represent all real numbers, and as a consequence of the binary floating point format, this includes many numbers that "look nice" in decimal such as 13.46. The computer does the best it can in giving you the closest value that is possible. If you need more accuracy, you can use doubles, but integers are the only built-in types that will give you exact accuracy (at the cost of range). For example, you can represent dollar values in terms of integer cents instead of decimal dollars.
__________________
"Prohibition will work great injury to the cause of temperance. It is a species of intemperance within itself, for it goes beyond the bounds of reason in that it attempts to control a man's appetite by legislation, and makes a crime out of things that are not crimes. A Prohibition law strikes a blow at the very principles upon which our government was founded." --Abraham Lincoln
|