Well this one works... double roundOff = Math.round(a * 100.0) / 100.0;. Output is. 123.14. Or. double roundOff = (double) Math.round(a ...
確定! 回上一頁