use better formatting for calculation result