Refactored out currency formatter method