private String formatDouble(DecimalFormat dFormat, Double d) {
    if (!d.isNaN()) {
      return dFormat.format(d);
    }
    return d.toString();
  }
Gets the last event id processed.
@return the last event id.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplStatsTracker.java