# File lib/aws/record/attributes.rb, line 232 def self.type_cast raw_value, options = {} case raw_value when nil then nil when '' then nil when Float then raw_value else raw_value.respond_to?(:to_f) ? raw_value.to_f : raw_value.to_s.to_f end end