RE: Floating point math is the devil!

avatar

You are viewing a single comment's thread:

Yes, with a programmable computer, you can get it to do any kind of math... the hard way.

But think of things like Autocad. Having a 1/16 fractional system or a 1/12 fractional system would have made a lot of the math and number storage easy.

Instead you have 0.0625 and 0.41667 stored everywhere.

And, as you said, it can be imitated. And moving the decimal place to pennies, or ⅒ of pennies works well for those kinds of integers that deal with money.



0
0
0.000
0 comments