helper function to display price formatted properly