On Sun, Dec 16, 2018 at 9:26 PM Thomas Kurz <sqlite.2...@t-net.ruhr> wrote:

> > Good way to overflow your integers.
> > With floating point, that's not a problem.
>
> With int64, it shouldn't be a problem either.
>
>
Well.. are you absolutely sure about that?

Considering these Zimbabwe Dollars amounts mentioned earlier, let's compare
max unsigned int64 with sample amount:

2^64
18446744073709551616
10000000000000000000000001

It seems int64 is easy overflown.

PostgreSQL's NUMERIC data type would be a solution here.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to