cdm/src/main/java/ucar/unidata/util/Format.java
private static void show(double d, int sigfig) {
    System.out.println("Format.d(" + d + "," + sigfig + ") == "
            + Format.d(d, sigfig));
  }
private static void show(double d, int sigfig) {
    System.out.println("Format.d(" + d + "," + sigfig + ") == "
            + Format.d(d, sigfig));
  }
Show the value of a double to the significant figures

@param d      double value
@param sigfig number of significant figures