views:

40

answers:

1

I can read a text and an int column (sqlite3_column_text, sqlite3_column_int). But does anyone know how to read in a sqlite decimal column?

The decimal columns essentially hold currency values.

Thanks!

A: 

See this list of functions. Yours is sqlite3_column_double.

Benoit
Thanks. So i guess i need to convert the double to a decimal? Also, is Core-Data the prefered way to store data rather using sqlite?
AlvinfromDiaspar