I am storing a double into a sqlite database.
This value can be null, and I need to know whether the value is 0 or null.
Is it possible to achieve this?
//grade is a type double in database
Double myValue = cursor.getDouble(cursor.getColumnIndex("grade"));
To check for null use ‘isNull(…)’…