08-11-2022, 08:49 PM
(This post was last modified: 08-11-2022, 08:58 PM by Kernelpanic.)
Quote:That's why I coded my string math routine. You simply cannot "count" on binary computer math. (Please enjoy the pun.)
I enjoy it , but QuickBasic 4.5 could it - sure. In any case, it would be for . . . 99%(?) of all cases ok.
34.545 must not become 34.54. I had to do financial math once and there would be something like this - probably a case for lawyers because it turns out to be a few thousand dollars more on a loan payment, a mortgage, for example.
PS: It depends on where the error occurs. In the worst case, it really runs into the thousands and more, depending on the amount of the loan. That is not a trifle.