refactor price_convert helper method