format the amount