def METHOD_NAME(value):
    # we will either see a raw number or one with a suffix
    value = value.decode("utf-8")
    if not value.endswith("B"):
        return float(value)
    suffix = value[-2:]
    multiple = 1
    if suffix == "KB":
        multiple = 1024
    elif suffix == "MB":
        multiple = 1024 * 1024
    elif suffix == "GB":
        multiple = 1024 * 1024 * 1024
    return float(value[:-2]) * multiple