Flowdock
method

absolute_precision

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: RoundingHelper
absolute_precision(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/rounding_helper.rb, line 37
        def absolute_precision(number)
          if options[:significant] && options[:precision] > 0
            options[:precision] - digit_count(convert_to_decimal(number))
          else
            options[:precision]
          end
        end
Register or log in to add new notes.