SQL Server Report Builder Number Formatting

2019-08-07 06:26发布

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:

Report Builder

In Visual Studio:

VisualStudio

2条回答
Evening l夕情丶
2楼-- · 2019-08-07 06:39

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

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-08-07 06:50

Finally, I got solution:

There is option in toolbar.

Place Holder

查看更多
登录 后发表回答