This class represents data type Numeric.

Methods
Public Instance methods
filter_set( value )

Values are filtered by this method when being set. Converts value to Float or returns nil if value is nil or empty.

# File lib/momomoto/datatype/numeric.rb, line 11
      def filter_set( value )
        case value
          when nil, '' then nil
          else Float( value )
        end
      rescue => e
        raise ConversionError, e.to_s
      end