(self, s)
return float(s)
Convert a value, given as an instance of an arbitrary type, to a float.
Convert a value, given as an instance of an arbitrary type, to a float.
Convert a value given as an instance of an arbitrary type to a float .
def to_val(self, s):
        """
        Convert a value, given as an instance of an arbitrary type, to a float.
        """
        if s in self.unknown_str:
            return Unknown
        return float(s)
def to_val ( self , s ) : if s in self . unknown_str : return Unknown return float ( s )