Android Question Numeric field is rounded down

Tom Law

Active Member
Licensed User
Longtime User
Please excuse me if this seems basic but I haven't used B4a for a long time and I am a bit rusty.
I have an online MYSQL database with several fields one of which is numeric (DECIMAL(4,2)). This database has been downloaded into a cursor and the individual fields separated out using a MAP. When I use the MAP values to fill text boxes it all works fine except for the one numeric field that just shows numbers before the decimal point as if rounded down. This routine used to work perfectly in earlier versions of Android/B4A, but I am at a loss how to extract and show the full numeric i.e 9.3 shows as 9.
 

DonManfred

Expert
Licensed User
Longtime User
Without a small poject showing the problem it is hard to help here.
We don´t know what you are doing
 
Upvote 0

Tom Law

Active Member
Licensed User
Longtime User
Without a small poject showing the problem it is hard to help here.
We don´t know what you are doing
Hi Don, I'm using one of your libraries based on a Maria conversion (from several years ago) which has always served me well. The project is fairly large hence the description however I will see if I can knock up a smaller version.
 
Upvote 0
Top