formatting rewards history values