3 ms·
It can't be worth any microscopic performance benefit to not just be safe/precise and substitute a decimal datatype in 99% of cases. Something crazy like HFT mi
by jimmaswell 7y ago
It can't be worth any microscopic performance benefit to not just be safe/precise and substitute a decimal datatype in 99% of cases. Something crazy like HFT might be an exception, or if it's just a quick excel sheet. Otherwise it's still a perfectly good rule of thumb to keep money in decimal types if you're writing code.
- otabdeveloper4 7y agoIt's not about performance. Modeling (including financial modeling) requires transcedental functions and real numbers.