I'm trying to format a currency (Swiss Frank -- de-CH) with a symbol (CHF) that is different that what the default .Net culture is (SFr.). The problem is that the NumberFormat for the culture is ReadOnly.
Is there a simple way to solve this problem using CultureInfo and NumberFormat? Is there some way I can override the CurrencySymbol?
Example: Dim newCInfo As CultureInfo = CultureInfo.GetCultureInfo(2055) newCInfo.NumberFormat.CurrencySymbol = "CHF" MyCurrencyText.Text = x.ToString("c",newCInfo)
This will error on setting the NumberFormat.CurrencySymbol because NumberFormat is ReadOnly.
Thanks!