def METHOD_NAME(x, size):
    val = self.oget(x)
    if val in (None, "none", ""):
        return
    if val[0] == "x":
        if not size:
            return
        try:
            m = float(val[1:])
        except Exception:
            raise ex.Error("%s set to a multiplier of size, but invalid: %s" % (x, val))
        return int(size * m)
    return convert_size(val, _to="m")