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