Hello everyone,
I'm having some trouble getting a float value out of a table.
Although i can add a floating point value correctly (ex: 0.5) and see the correct value using a tool like SQLite Database Browser, i always
get value "0.0" when i read it from my application.
I have tried:
double myvalue = Convert.toDouble(reader[0]);
double myvalue = (float)Convert.toDouble(reader[0]);
float myvalue = (float)myvalue = Convert.toDouble(reader[0]);
and also tried altering the table field from "double" to "float" but it doesn't seem to work!
Does anybody know what the problem seems to be?
Thanks in advance,
Luís Silva