Comment Comment by daniel5151 I know it's a toy example, but it's a _really bad idea_ to use a float as a backing type for currency.https://stackoverflow.com/questions/3730019/why-not-use-doub... parent daniel5151 5 years ago
https://stackoverflow.com/questions/3730019/why-not-use-doub...