method

absolute_value

Importance_0
v5.1.7 - 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 23
        def absolute_value(number)
          number.respond_to?(:abs) ? number.abs : number.sub(/\A-/, "")
        end
Register or log in to add new notes.