Quote:
Originally Posted by Stefan
Hmmm problem of the C++ atod function, will check if we can replace it with strtod. 0.0 + 1 should still give 1 though.
|
Well I simply did a requestsql("SELECT etc", true); and echoed the result of each row +1 (for the column that had the real numbers). Rows with 1 in them returned 2 while rows with 0 in them returned just 0. Also, when I didn't have the +1, they returned 1.0 and 0.0 respectively.