2012年11月8日

Android 数字格式化

摘要: package formatnumber;import java.text.DecimalFormat;public class FormatNumber { public static void main(String[] args) { DecimalFormat df = new DecimalFormat(); double data = 1234.56789; System.out.println("格式化之前的数字: " + data); Strin... 阅读全文

posted @ 2012-11-08 11:25 彼岸荼蘼_花非花 阅读(651) 评论(0) 推荐(0) 编辑

导航