2 ms·
Everyone says that 'banks never use floating point to represent money'... but when you talk to people actually working in banks and other financial institutions
by chrisseaton 6y ago
Everyone says that 'banks never use floating point to represent money'... but when you talk to people actually working in banks and other financial institutions and actually look at their code turns out they're using floating point all over the place.
- nly 6y agoI can tell you for a fact that at least one large data vendor uses floating point almost exclusively internally :-) The thing is, it's actually 'fine' until you actually need to do a calculation. Once you get there you need to convert to decimal and round to however many dp's you should be using.