Skip to content

floats are given int values #2

@dcramps

Description

@dcramps

Lines 185-190

     case SQLITE_FLOAT:
     {
          float value = sqlite3_column_int(statement, i); //using sqlite3_column_int() when setting a float...
          [result setObject:[NSNumber numberWithFloat:value] forKey:columnName];
          break;
     }

All my floats were integers until I fixed it :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions