class AWS::Record::Model::Attributes::SortableFloatAttr

def self.serialize float, options = {}

def self.serialize float, options = {}
  expect(Float, float) do 
    left, right = float.to_s.split('.')
    left = SortableIntegerAttr.serialize(left.to_i, options)
    SortableIntegerAttr.check_range(float, options)
    "#{left}.#{right}"
  end
end