Crystal报告:数字格式错误

问题描述:

我从123的数据库中获取值,但在报告中显示123.00

我想避免.00。

我正在使用vs2008和vb.net帮帮我?

I am fetching value from database which is 123 but in report it shows 123.00
I want to avoid .00.
I am using vs2008 with vb.net please help me?

在Crystal Report设计器中,右键单击该字段,选择菜单项Format Field,然后选择Number选项卡。



向下滚动到没有小数组件的数字格式 - 单击并单击确定。



保存报告模板。



请参阅本文 [ ^ ]了解更多信息。
In the Crystal Report designer, right-click the field, select the menu item "Format Field", and select the Number tab.

Scroll down to the number format that has no decimal component - click that and click "OK".

Save the report template.

See this article[^] for more info.