摘要:
import java.text.DecimalFormat;public class test { /** * @param args */ public static void main(String[] args) { double d = 1231423.3823; System.out.println("格式化前:"+d); DecimalFormat f = new DecimalFormat(); f.applyPattern("#.##"); Sys... 阅读全文
posted @ 2012-10-15 14:41
tovep
阅读(2064)
评论(0)
推荐(0)
浙公网安备 33010602011771号