### Question:
NumberUtil { public static String getPrintSize(long size) { float printSize = (float)size / 1024/ 1024; return String.format("%.1fMB", printSize); }  static String format(double num, int maxFloat); static String getPrintSize(long size); static String toFraction(Double number);  }### Answer:
@Test public void getPrintSize() throws Exception { int[] size = new int[] {10100000}; for(int i=0;i<size.length;i++) { System.out.println(NumberUtil.getPrintSize(size[i])); } }