Division in sqlite return integer value
sqlite> select totalUsers/totalBids from (select (select count(*) from Bids) as totalBids , (select count(*) fro
or if you want to update column based on text column:
UPDATE table_with_fields SET real_field=cast(field_with_txt AS real)