I found out that from these lines of code we could get the currency of Canadian.
Dim value As Decimal = ourTextbox.text
Dim positiveValue As Decimal = ourTextbox.text
Dim customCurrencyInfo As CultureInfo = CultureInfo.CreateSpecificCulture("fr-CA")
customCurrencyInfo.NumberFormat.CurrencyNegativePattern = 8
Dim formatString As String = value.ToString("C", customCurrencyInfo)
Dim formatStringPositive As String = positiveValue.ToString("C", customCurrencyInfo)
myTextbox.text = formatString
myTextbox2.text = formatStringPositive
The output would be;
-123,45 $ 123,45 $
But what about these countries:
-Malaysia
-Indonesia
-Somalia / Africa
-Arabia
How to get their currency shown on the formatting textbox?