    # File lib/action_view/helpers/number_helper.rb, line 109
          def number_to_percentage(number, options = {})
            options.symbolize_keys!

            defaults   = I18n.translate('number.format''number.format', :locale => options[:locale], :raise => true) rescue {}
            percentage = I18n.translate('number.percentage.format''number.percentage.format', :locale => options[:locale], :raise => true) rescue {}
            defaults  = defaults.merge(percentage)

            precision = options[:precision] || defaults[:precision]
            separator = options[:separator] || defaults[:separator]
            delimiter = options[:delimiter] || defaults[:delimiter]

            begin
              number_with_precision(number,
                :precision => precision,
                :separator => separator,
                :delimiter => delimiter) + "%"
            rescue
              number
            end
          end