user7538827
user7538827

Reputation:

Formatting Value Decimal Microsoft Report C#

Hello I have a problem with C # software that uses Microsoft's report, I should print a decimal value n2 in the format, but when I print the report inverts inverts the point with the point, how do I fix? I put below the setting of the image size and n2 of the printed report

Setting Report:

enter image description here

Printed Report

enter image description here

Currency Windows Settings

enter image description here

Visual Studio Setting and Report

enter image description here

Upvotes: 0

Views: 286

Answers (1)

There are some things you have to check for solving this problem.

1. Disable Use regional Settings

The setting

This will ensure the . and the , will be used suitable as currency to the client which prints the report.

2. Check Server's / Clienst's Regional and Language Options

Open "New Task" with Windows Key + R and type in intl.cpl for getting them. Then click on Additional Settings and check the tab with Currency.

After changing this you have to log off your windows account and login again for applying this settings.

3. Set Format directly to #.#,00

Also make sure this field is empty if you are using solutions from above.

Properties window


Update

There is your bad boy:

Prop Windows

It should be #.#,00 but the current set format value equals to your wrong output. This field is overriding your settings.

Upvotes: 1

Related Questions