method

absolute_value

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: NumberToCurrencyConverter
absolute_value(number) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/number_helper/number_to_currency_converter.rb, line 25
        def absolute_value(number)
          number.respond_to?("abs") ? number.abs : number.sub(/\A-/, '')
        end
Register or log in to add new notes.