Can fractions be used to represent money (instead of decimals)?
I’m sure there’s an answer to this question buried somewhere on Stack Overflow, but all the ones I could find boil down to either “use the decimal
type” or “convert the money into its lowest denomination (e.g. cents) and store that as an integer”. No one suggested using fractions (i.e. storing the dividend and the divisor).