private static void show2(double d, int dec_places) {
    System.out.println("Format.dfrac(" + d + "," + dec_places + ") == "
            + Format.dfrac(d, dec_places));
  }
private static void show2(double d, int dec_places) {
    System.out.println("Format.dfrac(" + d + "," + dec_places + ") == "
            + Format.dfrac(d, dec_places));
  }
private static void show2 ( double d , int dec_places ) { System . out . println ( "Format.dfrac(" + d + "," + dec_places + ") == " + Format . dfrac ( d , dec_places ) ) ; }
Show the value of a double with specified number of decimal places

@param d          double value
@param dec_places number of decimal places
Show the value of a double with specified number of decimal places