Methods
Public Class methods
cast_from(object)
# File lib/facets/more/typecast.rb, line 153
    def cast_from(object)
      return super
    rescue TypeCastException
      return object.to_f if object.respond_to? :to_f
      raise
    end
Public Instance methods
to_json(*)

Returns a JSON string representation for this Float number.

# File lib/facets/more/json.rb, line 590
  def to_json(*) to_s end