If I do this:
Console.Write("The sum is {0:c}", 12);
I am on a Swedish computer, so he will return:
The amount is 12,00 kr
But is there an easy way to get only a currency symbol, without a number? Like this (obviously, this does not work, but just to show what I need):
Console.Write("The symbol is {c}");
I would like this to output: Symbol: kr
source
share