code: public final double mmToDocUom(final double pValue,
      final EUnitOfMeasure pUom) {
      if (pUom.equals(EUnitOfMeasure.INCH)) {
        return pValue / 25.4;
      }
      return pValue;
    }
docs: <p>Convert value from millimeters to document UOM.</p>
  @param pValue in millimeters
  @param pUom doc UOM
  @return in document UOM value