@classmethod
def decode(cls, value):
    """
        decode the bytes from redis back into a float

        :param value: bytes
        :return: float
        """
    return None if value is None else float(value)
