G
Guest
If I have a currency code like "USD" or "EUR", how do I format a string from
a decimal value that would contain the correct currency symbol?
for example, if I have "USD" and 345.45, I want to see "$345.45", but if I
have "GBP" and 345.45 I want to see "345.45 [pound symbol here]".
I can see how you can start with a culture like en-US and get the output,
but I am starting only from a currency code.
thanks.
a decimal value that would contain the correct currency symbol?
for example, if I have "USD" and 345.45, I want to see "$345.45", but if I
have "GBP" and 345.45 I want to see "345.45 [pound symbol here]".
I can see how you can start with a culture like en-US and get the output,
but I am starting only from a currency code.
thanks.