@Test public void whenLocaleIsJapan_thenConvertsAsJapaneseFormat() throws Exception { assertEquals("When the precision 3 and locale Japan", "1.250", NumberUtil.toString(Locale.JAPAN, 1.25, 3)); }
public static <T extends Number> String toString(T value, int precision) { return toString(Locale.getDefault(), value, precision); }
NumberUtil { public static <T extends Number> String toString(T value, int precision) { return toString(Locale.getDefault(), value, precision); } }
NumberUtil { public static <T extends Number> String toString(T value, int precision) { return toString(Locale.getDefault(), value, precision); } private  NumberUtil(); }
NumberUtil { public static <T extends Number> String toString(T value, int precision) { return toString(Locale.getDefault(), value, precision); } private  NumberUtil(); static String toString(T value, int precision); static String toString(Locale locale, T value, int precision); }
NumberUtil { public static <T extends Number> String toString(T value, int precision) { return toString(Locale.getDefault(), value, precision); } private  NumberUtil(); static String toString(T value, int precision); static String toString(Locale locale, T value, int precision);  }