![]() |
0.0
If a column in a table is set to the REAL datatype and you put the number 0 in, when you return this value back, you get a .0 at the end of it. Normally that would be fine but Graal doesn't see 0.0 as a number, it thinks it is text (0.1 or 1.0 though would be a number).
I would say this is a problem with the SQLite but in all honesty, why can't Graal see 0.0 as a number? In all fairness to my namesake, I find this rather insulting. |
It doesn't see 0 as a number either, does it?
|
Graal will see 0 as a number, yes. 0 + 1 will give 1 but 0.0 + 1 will give 0
|
Hmmm problem of the C++ atod function, will check if we can replace it with strtod. 0.0 + 1 should still give 1 though.
|
Quote:
|
All times are GMT +2. The time now is 10:19 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.