Mohammed,
You can create an instance of NumberFormatInfo (which implements the
IFormatProvider interface). Once you create that, you can set the
CurrencySymbol property to the symbol you wish to use.
The "$" symbol is the default for your current culture.
You can pass the instance of the NumberFormatInfo instance to the
ToString method to have it use that in determining how to create a string
representation of the value.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Mohammed Shafiulla Khadri" <md***********@hotmail.com> wrote in message
news:uB**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have to display pound/ euro symbol, when i have to format a number into
respective currency? I dont want to display the default "$" sysmbol? how
can i do this?
regards,
MSK