# 0.4 * 100

Michael Imhof

Greenhorn

Posts: 24

Michael Imhof

Greenhorn

Posts: 24

posted 8 years ago

The

Have a look at this: Some things you should know about floating-point arithmetic

And here's a more detailed but very technical explanation: What Every Computer Scientist Should Know About Floating-Point Arithmetic

**float**and**double**data types do not have infinite precision, so you can expect to see some rounding errors when you do calculations.Have a look at this: Some things you should know about floating-point arithmetic

And here's a more detailed but very technical explanation: What Every Computer Scientist Should Know About Floating-Point Arithmetic

Don't get me started about those stupid light bulbs. |