1.前台标签:
<fmt:formatNumber value="${sgainfo.javapoolrate }" pattern="#.00" type="number" />
2.后台处理:
new
java.text.DecimalFormat("#.00").format(3.1415926)
原文章:http://blog.csdn.net/home_zhang/article/details/8511721
原文章:http://blog.csdn.net/home_zhang/article/details/8511721