code: public void setVariableOpt(String variableName, int variableValue) {
          // We want to avoid the integer to string conversion if the template variable does not exist.
          int varNo = mtp.lookupVariableName(variableName);
          if (varNo == -1) {
              return;
          }
          varValuesTab[varNo] = Integer.toString(variableValue);
      }
docs: Sets an optional template variable to an integer value.
  <p>
  Convenience method for: <code>setVariableOpt (variableName, Integer.toString(variableValue))</code>
  
  @param variableName the name of the variable to be set. Case-insensitive.
  @param variableValue the new value of the variable.