SQL Server Report Builder Number Formatting

a 夏天 提交于 2019-12-11 12:33:28

问题


I am creating Reports in SQL Server Report builder.

When I set format of any number fields, in design it is displaying sample value.

For e.g. If I set format 0.00 to one numeric field, it started to display 12345.00

I have 10-12 fields in design, it caused very much confusion.

Is there any solution to change this?

When I open report in Visual Studio, it doesn't display like that.

Check Following screenshots:

In Report Builder:

In Visual Studio:


回答1:


Finally, I got solution:

There is option in toolbar.




回答2:


From what you described looks like you have an issue with the regional settings number format.

In your development environment, the decimal values are retrieved correctly, so you got 123.45 instead of 12345.00

In your target environment, the format of the decimal values is different, for example is 123,45 (comma instead of dot) so you get 12345.00



来源:https://stackoverflow.com/questions/24631762/sql-server-report-builder-number-formatting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!