Conversion de dato

3.750,00 is a DE (german) format of numerical. So you have to use System.Globalization.CultureInfo.GetCultureInfo(“de-DE”)

So could you try the below code:

Price = CInt(Convert.ToDecimal(Price.Replace(“$”,“”), System.Globalization.CultureInfo.GetCultureInfo(“de-DE”))).ToString

As you can see below, it has handled 3 different types of input:

1 Like