摘要: package com.ylx;import java.text.DecimalFormat;public class Test { public static void main(String[] args) { //测试方法 System.out.println(formatNumber("14","00000")); System.out.println(formatNumber(150,"00000")); } /** * @param String类型的数字 如"150" * @param 格式化格式 . 阅读全文
posted @ 2013-06-19 14:03 杨桃 阅读(1320) 评论(0) 推荐(0) 编辑