Good day i seem to be having issues reading a float datatype from the local sqlite db. I can write the values in correctly, (viewed the database file) but for some reason i cannot read the value.
float lon = (float)r["lon"];
This method throws
System.InvalidCastException: Cannot cast from source type to destination type.
Any help would be greatly appreciated