@Test public void getThousandSeparatorFormat() { System.out.println("-----getThousandSeparatorFormat test-----"); System.out.println(NumberUtil.getThousandSeparatorFormat(100)); System.out.println(NumberUtil.getThousandSeparatorFormat(1000)); System.out.println(NumberUtil.getThousandSeparatorFormat(100000000000000.0)); System.out.println(NumberUtil.getThousandSeparatorFormat(-100000000000000.0)); }
public static String getThousandSeparatorFormat(double num) { DecimalFormat decimalFormat = new DecimalFormat(",###"); return decimalFormat.format(num); }
NumberUtil { public static String getThousandSeparatorFormat(double num) { DecimalFormat decimalFormat = new DecimalFormat(",###"); return decimalFormat.format(num); } }
NumberUtil { public static String getThousandSeparatorFormat(double num) { DecimalFormat decimalFormat = new DecimalFormat(",###"); return decimalFormat.format(num); }  }
NumberUtil { public static String getThousandSeparatorFormat(double num) { DecimalFormat decimalFormat = new DecimalFormat(",###"); return decimalFormat.format(num); }  static int optInt(String numStr, int def); static long optLong(String numStr, long def); static float optFloat(String numStr, float def); static double optDouble(String numStr, double def); static String getWanUnitString(double num , String unit); static String getThousandSeparatorFormat(double num); }
NumberUtil { public static String getThousandSeparatorFormat(double num) { DecimalFormat decimalFormat = new DecimalFormat(",###"); return decimalFormat.format(num); }  static int optInt(String numStr, int def); static long optLong(String numStr, long def); static float optFloat(String numStr, float def); static double optDouble(String numStr, double def); static String getWanUnitString(double num , String unit); static String getThousandSeparatorFormat(double num);  }