def METHOD_NAME(self, section: str, option: str) -> float:
    name, value = self._get_single(section, option)
    if isinstance(value, int):
        value = float(value)
    return self._check_type(name, option, value, float, float, "a float")