I'm currently trying to read data from a text file and insert it into a sqlite database
visual is reading the data(a decimal number using the decimal period i.e 4.56) using a fileReader, when the data is readed directly its in string form and shows correctly i.e 4.56, but when trying to convert to a number it uses a decimal coma format i.e 4,56 wich will not be a big issue if i didnt have to send it to the database (4,56 in a select its 2 fields a 4 and a 56)
By looking in other posts i see the default is the decimal period ( i see people with the oposite problem Visual basic handle decimal comma) CurrentRow is a string Array containing the current line in the file, the position 11 contains 19.90
MessageBox.Show(10 / 3) outputs 3,33333
MessageBox.Show(CurrentRow(11)) outputs 19.90
MessageBox.Show(Val(CurrentRow(11))) outputs 19,9
MessageBox.Show(Decimal.Parse(CurrentRow(11))) 1990
MessageBox.Show(Decimal.Parse(Val(CurrentRow(11)))) 19,9