3 ms·
Sure, but division and multiplication add more decimal places. If you do a lot of calculations and you truncate or round every single intermediate result, round
by fauigerzigerk 10y ago
Sure, but division and multiplication add more decimal places. If you do a lot of calculations and you truncate or round every single intermediate result, rounding errors may add up to unacceptable levels in some cases.
So I wanted perform the caculations with high precision, then round the final result according to what the law requires.