数字格式化

int res = 1; 
DecimalFormat df = new DecimalFormat("0000");
String statistics = df.format(res);

  

posted @ 2017-07-05 13:23  馳騁衿琾  阅读(112)  评论(0)    收藏  举报