Flowdock
method

apply_scale

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Decimal
apply_scale(value) 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/type/decimal.rb, line 61
        def apply_scale(value)
          if scale
            value.round(scale)
          else
            value
          end
        end
Register or log in to add new notes.