Why do programming languages suck at math?
What's the whole reason behind distinguishing between integers and float/doubles?units = 2price = 3.172 * 3.17 = ERRORIt blows my mind that so much effort has put into things like functions taking functions as arguments, and the characteristics of classes - yet a computer can't handle basic calculator math out of the box. PHP, Ruby, Swift, OCaml.. what gives?What is the complexity behind this?