标签:imp rac 分享 git ges logs class style ring
import java.text.DecimalFormat; import java.math.RoundingMode; class Text{ public static void main(String args[]){ DecimalFormat formater = new DecimalFormat(); formater.setMaximumFractionDigits(2); formater.setGroupingSize(0); formater.setRoundingMode(RoundingMode.FLOOR); System.out.println(formater.format(123456.7897456)); } }
标签:imp rac 分享 git ges logs class style ring
原文地址:http://www.cnblogs.com/Charles9703/p/7605923.html