Home All Groups Group Topic Archive Search About

Format {0:c} yields ($1,000), but I want -$1,000

Author
29 Mar 2005 2:59 PM
Dave
Is there any preexisting format that has negative currency values shown with
a hyphen instead of parenthesis?  Thanks,

-Dave

Author
29 Mar 2005 4:31 PM
Herfried K. Wagner [MVP]
"Dave" <nospam@yahoo.com> schrieb:
> Is there any preexisting format that has negative currency values shown
> with a hyphen instead of parenthesis?  Thanks,


Mhm...  On my German system 'String.Format("{0:c}", -1000) yields "-€
1.000,00" ;-).

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>