@Test public void parseLong(){ long defaultValue = 0; String value = "100000"; defaultValue = Long.parseLong(value); Log.d("======", "得到结果result---------->" + defaultValue); }
public static long parseLong(double value) { return parseLong(String.valueOf(value), 0L); }
NumberParserUtils { public static long parseLong(double value) { return parseLong(String.valueOf(value), 0L); } }
NumberParserUtils { public static long parseLong(double value) { return parseLong(String.valueOf(value), 0L); } private  NumberParserUtils(); }
NumberParserUtils { public static long parseLong(double value) { return parseLong(String.valueOf(value), 0L); } private  NumberParserUtils(); static long parseLong(double value); static long parseLong(String value); static long parseLong(String value, long defaultValue); static double parseDouble(String value); static double parseDouble(String value, double defaultValue); static float parseFloat(String value); static float parseFloat(String value, float defaultValue); static int parseInt(String value); static int parseInt(String value, int defaultValue); static int parseInt(Object object); static double parseDouble(Object object); static String parseDoubleToPrettyNumber(double value); static String parseStringWithoutTwoDecimals(String value); static String parseStringWithoutTwoDecimalsToInt(String value); static String parseStringWithFractionDigits(String value, int fractionDigits); static String getPrettyNumber(String number); static String getPrettyBalance(String balance); static String getPrettyBalance(double balance); static String getPrettyDetailBalance(double balance); static String getPrettyNumber(double value, int maxDigit); static String getPrettyNumber(double value, int maxDigit, int roundingMode); static String getPrettyNumber(String value, int maxDigit); static String getPrettyBalance(String value, int maxDigit); }
NumberParserUtils { public static long parseLong(double value) { return parseLong(String.valueOf(value), 0L); } private  NumberParserUtils(); static long parseLong(double value); static long parseLong(String value); static long parseLong(String value, long defaultValue); static double parseDouble(String value); static double parseDouble(String value, double defaultValue); static float parseFloat(String value); static float parseFloat(String value, float defaultValue); static int parseInt(String value); static int parseInt(String value, int defaultValue); static int parseInt(Object object); static double parseDouble(Object object); static String parseDoubleToPrettyNumber(double value); static String parseStringWithoutTwoDecimals(String value); static String parseStringWithoutTwoDecimalsToInt(String value); static String parseStringWithFractionDigits(String value, int fractionDigits); static String getPrettyNumber(String number); static String getPrettyBalance(String balance); static String getPrettyBalance(double balance); static String getPrettyDetailBalance(double balance); static String getPrettyNumber(double value, int maxDigit); static String getPrettyNumber(double value, int maxDigit, int roundingMode); static String getPrettyNumber(String value, int maxDigit); static String getPrettyBalance(String value, int maxDigit);  }