module ActiveSupport::NumberHelper
def i18n_format_options(locale, namespace = nil) #:nodoc:
def i18n_format_options(locale, namespace = nil) #:nodoc: options = I18n.translate(:'number.format', locale: locale, default: {}).dup if namespace options.merge!(I18n.translate(:"number.#{namespace}.format", locale: locale, default: {})) end options end