code: def unitized(value, unit, base=DEFAULT_BASE):
      
      exponent = 0 if not unit else UNITS.index(unit) + 1
      return int(value * (base ** exponent))
docs: Args:
          value (int | float): Value to expand
          unit (str | unicode): Given unit (see UNITS)
          base (int): Base to use (usually 1024)
  
      Returns:
          Deduced value (example: "1k" becomes 1000)