protected String compute(double value){
  if (Double.isNaN(value)) {
    return null;
  }
  return Tools.formatIntegerIfPossible(value);
}

protected String compute ( double value ) { if ( Double . isNaN ( value ) ) { return null ; } return Tools . formatIntegerIfPossible ( value ) ; }
computes the result for one input double value .
