Hello,
I can't figure out why it' possible to convert my string. Error message is: input string was not in correct format
This is my code, which make an error:
Dim dbl as Double
Dim str as String = "£22.50")
str = str.Replace("£", "")
str = str.Replace(".", ",")
dbl = Convert.ToDouble(str)But if I try this, it's work:
dbl = Convert.ToDouble("22,50")
What's going on ?