1

Tiny additions to doubles appearing 8 places after decimal: Android

view story
linux-howto

http://stackoverflow.com – I'm still a bit of a noob regarding this. I'm puzzled about what's happening. I stored a 3.542 in a sqlite database. Checking the database with Firefox sqlite viewer confirmed this. Then I retrieved the value with the following code: public double getCaffPer(String type) { SQLiteQueryBuilder builder = new SQLiteQueryBuilder(); builder.setTables(DRKTYPES); String[] columns = { MGCAFF }; String[] selectionArgs = { type }; Cursor cursor; cursor = builder.query(ourDatabase, columns, TYPE + "=?", selectionArgs, null, null, null); float result = -1; if (c (HowTos)