code: double getVersionNumber() {
  		if(cassandraVersion > 0) {
  			return cassandraVersion;
  		}
  		
  		String version = getReleaseVersion();
  
  		if (version == null) {
  			throw new IllegalStateException("Can't get Cassandra release version.");
  		}
  		
  		String[] toks = version.split("\\.");		
  		if (toks.length >= 3) {
  			try {
  				
  				StringBuilder b = new StringBuilder();
  				
  				int len = toks[0].length();
  				if(len == 1) {
  					b.append("00");
  				} else if (len == 2) {
  					b.append("0");
  				}
  				b.append(toks[0]);
  				
  				len = toks[1].length();
  				if(len == 1) {
  					b.append("00");
  				} else if (len == 2) {
  					b.append("0");
  				}
  				b.append(toks[1]);
  				
  				for(int i = 0; i < toks[2].length(); i++) {
  					char c = toks[2].charAt(i);
  					if(Character.isDigit(c)) {
  						if(i == 0) {
  							b.append('.');
  						}
  						b.append(c);
  					} else {
  						break;
  					}
  				}	
  				
  				cassandraVersion = Double.valueOf(b.toString());
  				return cassandraVersion;
  				
  			} catch (Exception e) {
  			}
  		}
  
  		throw new IllegalStateException("Can't parse Cassandra release version string: \"" + version + "\"");
  	
  	}
docs: 12.23.345bla-bla => 012023.345