instance method
format_percent
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
format_percent(locale, object, format = :default, options = {})
No documentation comment.
Parameters
-
localereq -
objectreq -
formatopt = :default -
optionsopt = {}
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/cldr.rb, line 27
def format_percent(locale, object, format = :default, options = {})
formatter(locale, :percent, format).apply(object, options)
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/cldr.rb line 27
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in I18n::Backend::Cldr