Represents a whole number. Falls back to Varchar.
Float
72 73 74 75 76
# File 'lib/dbi/types.rb', line 72 def self.parse(obj) return nil if Null.parse(obj).nil? return obj.to_i if obj.respond_to? :to_i super end