method

float_precision

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Decimal
float_precision() 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 90
        def float_precision
          if precision.to_i > ::Float::DIG + 1
            ::Float::DIG + 1
          else
            precision.to_i
          end
        end
Register or log in to add new notes.