Flowdock
method

convert_float_to_big_decimal

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: Decimal
convert_float_to_big_decimal(value) 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 33
      def convert_float_to_big_decimal(value)
        if precision
          BigDecimal(apply_scale(value), float_precision)
        else
          value.to_d
        end
      end
Register or log in to add new notes.