[ad_1]
try {
String formatted = String.valueOf((int)Double.parseDouble("12345.0"));
} catch (ParseException e) {
// input is not a number
}
0
[ad_2]
solved How to format this string in java?
[ad_1]
try {
String formatted = String.valueOf((int)Double.parseDouble("12345.0"));
} catch (ParseException e) {
// input is not a number
}
0
[ad_2]
solved How to format this string in java?