module L10n::CoreExtensions::NumericExt::Formatting

Public Instance Methods

to_formatted_s(format = :rounded, options = nil) click to toggle source

un-deprecate method

# File lib/l10n/core_extensions/numeric_ext.rb, line 29
def to_formatted_s(format = :rounded, options = nil)
  if options.nil? && format.is_a?(Hash)
    options = format
    format = :rounded
  end
  to_s(format, options || {})
end