Tag: Floating point

Jul 23

Pro Tip: Never use type double for money / financial applications

Pro Tip: Never use type double for money / financial applications When you are new into coding financial applications one of the mistakes people tend to do is using a data type that it’s precision / significant digits are not enough to properly represent numers. If you’ve taken some CS classes you know how decimals …

Continue reading »