Negative values does not display "-" sometimes.
In the report table, one of the columns has some negative values. Same template sometime shows () around the number instead of the negative sign. I want to make sure it always displays a "-" sign for the negative values.
Anyone knows how to fix that?
This discussion has been closed.
Comments
https://stackoverflow.com/questions/1460023/how-can-i-change-the-currentculture-of-the-entire-process-not-just-current-thre
That will change the System's Culture info, but My report is basically created using the template. I do nothing in the code.
Hello!
How to ensure the hyphen (-) displays correctly on any computer:
In the designer, select a cell/field -> open Format -> Number (or Currency).
Uncheck the “Use local settings” box (UseLocale = false).
In the Negative pattern list, select the option with the minus sign (-n) (NegativePattern = 1).