luke2012 Well-Known Member Licensed User Longtime User Apr 2, 2012 #1 Hi to all! I'm using the .getlong method of the object cursor in order to get a decimal value stored in a SQLite DB table. The value stored in DB is 0.50 € (currency data type) and the getlong return me only the integer part : only the 0 number. Somebody can help me ? Thanks !
Hi to all! I'm using the .getlong method of the object cursor in order to get a decimal value stored in a SQLite DB table. The value stored in DB is 0.50 € (currency data type) and the getlong return me only the integer part : only the 0 number. Somebody can help me ? Thanks !
Erel B4X founder Staff member Licensed User Longtime User Apr 2, 2012 #2 Long is an integer data type. You should instead use Cursor.GetDouble. Upvote 0