I have a string:
string test = "19,95";
and I wan't to convert it to an int.
I use:
int num = Convert.Int32(test);
However it throws an FormatException. And tells me that the string is not a proper string for conversion.
My guess is that it has to do with the decimal seperator.
How do i work around this?