diff --git a/src/FMResultSet.m b/src/FMResultSet.m index 6d8fdff8..c87457b8 100644 --- a/src/FMResultSet.m +++ b/src/FMResultSet.m @@ -371,7 +371,7 @@ - (id)objectForColumnIndex:(int)columnIdx { returnValue = [NSNumber numberWithLongLong:[self longLongIntForColumnIndex:columnIdx]]; } else if (columnType == SQLITE_FLOAT) { - returnValue = [NSNumber numberWithDouble:[self doubleForColumnIndex:columnIdx]]; + returnValue = [NSDecimalNumber numberWithDouble:[self doubleForColumnIndex:columnIdx]]; } else if (columnType == SQLITE_BLOB) { returnValue = [self dataForColumnIndex:columnIdx];