Instance and class method comparison for making pretty number formats