Java lovers
I love java
2013年11月3日星期日
ireport pie schedule issues
Brother comes with ireport tool to draw pie chart , pie chart drawn the percentage with no decimal precision is not enough.
Consult the pie accounting approach to two decimal places , Thank you !
------ Solution ---------------------------------------- ----
(new BigDecimal(计算公式)).setScale(2,BigDecimal.ROUND_HALF_UP)
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论