@staticmethod
def to_float(s):
    """
        Converts a given argument to :any:`float` and if it didn't work,
        returns ``None``
        """
    try:
        return float(s)
    except BaseException:
        return None
