How do I format the calculation result?