Represents a decimal number with floating-point precision. Falls back to Integer.
[Source]
# File lib/dbi/types.rb, line 84 84: def self.parse(obj) 85: return nil if Null.parse(obj).nil? 86: return obj.to_f if obj.respond_to? :to_f 87: super 88: end
[Validate]