Flowdock
method

float_precision

Importance_0
v4.2.7 - 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 activerecord/lib/active_record/type/decimal.rb, line 41
      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.