小编GMo*_*ran的帖子

iReport 以百分比模式相乘

我正在使用 iReport 2.0.5(因为我必须这样做),并且我在格式化百分比时遇到了一些问题。当我使用未格式化的双精度时,我得到的是:

0
22,22
5,555 (this is the average of the whole group)
100
100  (this is the average of the whole group)
Run Code Online (Sandbox Code Playgroud)

平均值计算OK

但是当我使用 iReport 2.0.5设置模式#,##0.00 %时,会发生这种情况:

0,00 %
2.222,00 %
555,50 % (this is the average of the whole group)
10.000,00 %
10.000,00 % (this is the average of the whole group)
Run Code Online (Sandbox Code Playgroud)

如何阻止价值观改变?

formatting jasper-reports

2
推荐指数
1
解决办法
3315
查看次数

标签 统计

formatting ×1

jasper-reports ×1