Flowdock
method

round

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: ActiveModel::Validations::NumericalityValidator
round(raw_value, scale) private

No documentation

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

Hide source
# File activemodel/lib/active_model/validations/numericality.rb, line 82
      def round(raw_value, scale)
        scale ? raw_value.round(scale) : raw_value
      end
Register or log in to add new notes.