code: def to_float(value, default=_marker):
      
      if not is_floatable(value):
          if default is not _marker:
              return to_float(default)
          fail("Value %s is not floatable" % repr(value))
      return float(value)
docs: Converts the passed in value to a float number
  
      :param value: The value to be converted to a floatable number
      :type value: str, float, int
      :returns: The float number representation of the passed in value
      :rtype: float