This is the format you need: val dec = DecimalFormat("#,###.##"). will print: 5.384,45. if you need always exactly 2 digits after the ...
確定! 回上一頁