code: public static int getVersion(String version) {
  
          int ver = Integer.parseInt(version);
          return Math.abs(ver);
      }
docs: Returns the version number from a version parameter.<p>
  
  @param version might be negative for the online version
  
  @return the positive value