Displaying total amount including money calculations to user
问题 Note: I'm already using decimal.Decimal What is the best way to perform and display calculations to the end user when you are required to output in the following rough style: Item - £ 70.10 Item - £ 5.67 Item - £ 10.33 -------------- Total £ 86.10 I was always taught in maths as a kid to not round before your final answer, else you'll lose precision, but in this case if you don't it looks like we have calculation errors. as the calculation behind the display is not the same as the user would