code: public static function revert($input, $inputFormat = Code::FORMAT_ALNUM, $minLength = null)
      {
          $number = self::convertBase($input, $inputFormat, Code::FORMAT_NUMBER);
  
          if (is_int($minLength)) {
              $number -= self::getMinForlength($inputFormat, $minLength);
          }
  
          return $number;
      }
docs: Revert a code to it's original number
  
  @param $input
  @param string $inputFormat
  @param null $minLength
  
  @return int