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)

没有评论:

发表评论