Division in sqlite return integer value
sqlite> select totalUsers/totalBids from (select (select count(*) from Bids) as totalBids , (select count(*) fro
select cast ( ( select 1 ) as real );
https://www.sqlite.org/lang_expr.html#castexpr