Apart from setting the format you want the string to be shown, the format parameter in the String.Format method also allows to pass the negative formatting and zero formatting.
First is an example of the normal usage of this method:
String.Format(“{0:€ #,###.##}”, price);
To include the negative formatting add the following:
String.Format(“{0:€ #,###.##; (€ #,###.##)}”, price);
To include both the negative and zero formatting: