我只是想问一下如何解决我的问题。在我的报告窗口中,有两个计算字段: 1.一个计算小数的字段,我只将其显示为两个小数(在显示器上没有问题)。2.在我的另一个计算字段上,我使用第一个计算字段的结果乘以某个数字。问题出在这里,因为被相乘的值不是第一个字段中显示的值。取而代之的是它使用全部数量。
Scenario:
2,055,232.135 is the computed value and id displays 2,055,232.14 which is good.
But if i multiply it to 9 (2055232.135 * 9), the result is 18,497,089.215 which will be displayed as 18,497,089.22
The problem is I want that the displayed value (2,055,232.14) to be multiplied to 9 (2055232.14 * 9) which will then results to 18,497,089.26
我只想获得计算字段的第二个值,这样如果用户计算它,它就相等了。
发布于 2017-03-21 07:44:10
可以在计算字段中使用以下解决方案:
String( Truncate( 2055232.135 * 9, 2), "#,##0.00")
https://stackoverflow.com/questions/42896640
复制相似问题