sqlite3 - SQLite calculations -


i'm running rather simple problem , can't determine whether problem sqlite gui (tried 2 btw same results) or sqlite itself. when run following

select (30/24)-1 'calc'

i 0 instead of expected .25

now not actual query when started getting same result actual numbers got worried

please let me know whether sqlite issue or issue sqlite manager

it's because query rounding down zero, it's being cast implicitly integer.

have tried explicitly casting numbers/result decimal?


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -