class Safrano::Edm::Edm::Double

Public Class Methods

convert_from_urlparam(v) click to toggle source
# File lib/odata/edm/primitive_types.rb, line 247
def self.convert_from_urlparam(v)
  begin
    Contract.valid(v.to_f)
  rescue
    return Contract::NOK
  end
end