Friday, June 27, 2014

DataFormatString - Displaying nothing when there is a zero value, and currency when there is a value

Here it is:

{0:$0.00;$(0.00);''}



When the value is negative, it will be wrapped in parenthesis.  When it's positive, it will display the value.

And when it's zero, it will show nothing.




No comments:

Post a Comment