docs: public static void cursorDoubleToContentValues(Cursor cursor, String field,
              ContentValues values, String key) {
          int colIndex = cursor.getColumnIndex(field);
          if (!cursor.isNull(colIndex)) {
              values.put(key, cursor.getDouble(colIndex));
          } else {
              values.put(key, (Double) null);
          }
      }