当我添加值时,Crystal Report中的公式总和成为浮点值. [英] Sum formula in Crystal Report when i add values i get float value.

查看:107
本文介绍了当我添加值时,Crystal Report中的公式总和成为浮点值.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

当我对苹果求和公式求和时,我会生成水晶报表,然后我得到浮点结果求和值

就像当我加2 + 2时,我得到的结果是4.00,但我只希望4个而不是小数部分.

hello

i Crystal report when i apple sum formula then i get a Float result sum value

like when i add 2 + 2 then i get a result 4.00 but i want only 4 not decimal part.

推荐答案

我这样解决
使用格式编辑器显示为int.右键单击该字段,然后选择格式编辑器"-> 数字"标签选择所需的格式.
i solve it like that
Use format Editor to display as int. Right Click on that field and select Format Editor--> Number Tab select what ever format you require.


您好,

您可以根据需要设置值的格式.
请参见以下示例.它将帮助您如何设置值的格式.

http://support.insightdirect.com/help/cr/frmtnumcr.htm [ ^ ]

谢谢,
Viprat
Hi,

you can format the values as per your requirement.
See the below example. It will help you how to format the value.

http://support.insightdirect.com/help/cr/frmtnumcr.htm[^]

Thanks,
Viprat


这篇关于当我添加值时,Crystal Report中的公式总和成为浮点值.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆