How to insert double and float values to sqlite?

后端 未结 5 802
情书的邮戳
情书的邮戳 2021-02-02 05:12

Following is my db creation code.

@Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL(\"CREATE TABLE \" + TABLE_NAME + \" (\" + 
                  


        
5条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-02 05:48

    REAL is what you are looking for. Documentation of SQLite datatypes

提交回复
热议问题