code: @Nullable
  	@Override
  	public Double getMaxAsDouble() {
  
  		if (max instanceof Number) {
  			return ((Number) max).doubleValue();
  		}
  		return null;
  	}
docs: /*
  (non-Javadoc)
  @see org.springframework.data.solr.core.query.result.StatsResult#getMaxAsDouble()