Refactored share ration formatting.