SQLite query where clause with floating point numbers fails?

后端 未结 5 1370
死守一世寂寞
死守一世寂寞 2021-01-13 07:03

I\'m putting a float in an Android based SQLite database, like so:

private static final String DATABASE_CREATE = 
    \"create table \" + DATABASE_TABLE + \"         


        
5条回答
  •  时光说笑
    2021-01-13 07:34

    The following thing worked for me:

    Set the Column type to Double and insert rows using Double data type for Java. Somehow Double worked...

提交回复
热议问题