摘要: package com.iyx.service.impl; import java.io.FileOutputStream;import java.io.IOException;import java.io.OutputStream;import java.math.RoundingMode;imp 阅读全文
posted @ 2017-04-10 11:32 不再迷茫 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Java时间日期格式转换 突然忘记了时间格式怎么转换,特此做个记录 //转换百分数 NumberFormat nf = NumberFormat.getPercentInstance(); nf.setMinimumFractionDigits(2);//设置保留小数位 nf.setRounding 阅读全文
posted @ 2017-04-10 11:30 不再迷茫 阅读(694) 评论(0) 推荐(0) 编辑