String numero = "59.2348837"; DecimalFormat df = new DecimalFormat("0.00"); String resultado = df.format(Double.parseDouble(numero));.
確定! 回上一頁