我希望在代码中使用SQLite执行多个参数化插入。);while ( not reached end of datafile ) { // Insert into server table sqlite3_bind_double(stmt, 2, latitude);
sqlite3_bind_double(
我在我的应用程序中使用,当我尝试插入这些值时出现了一个小错误-0.02,-0.01,-0.03。我尝试插入一个简单的普通查询,其中包含精确的值,但当我尝试使用FMDatabase插入上面的值时,得到的结果是-0.019999999,0.009999999。有没有人能建议我如何解决这个问题?我的简单示例查询正在运行:
INSERT INTO Transactions VALUES('aaaaaa','aaaaaa',0,-0.02,1,1,'0','0