Flowdock
method

round

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: RoundingHelper
round(number) public

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 12
      def round(number)
        return number unless precision
        number = convert_to_decimal(number)
        if significant && precision > 0
          round_significant(number)
        else
          round_without_significant(number)
        end
      end
Register or log in to add new notes.