6 ms·
I mean i want to understand not that the problem doesnt exist. If the price is "0.00023" per unit and someone uses "213.34" units I feed those strings into a m
by theendisney 2y ago
I mean i want to understand not that the problem doesnt exist.
If the price is "0.00023" per unit and someone uses "213.34" units I feed those strings into a multiplication function that returns the correct string 100% of the time.
That much i understand. I dont get how that category of problems is addressed by the solution described.
What i also understand is that you inevtably get to deal with accountants or other finance people. Working in a format they understand is not optional. They will have you transform whatever you have into that anyway.
I learn not to wonder why but maybe i should.
- that_guy_iain 2y ago> If the price is "0.00023" per unit and someone uses "213.34" units I feed those strings into a multiplication function that returns the correct string 100% of the time. But you're not coming up with a valid monetary amount.
- theendisney 2y agoSay I do it wrong, wouldnt the other account have the same problem if it also counts money?