MattWoberts
Programmer
Hi,
I'm a bit of a newbie in VC C++, any help would be great:
I am using a basic_stringstream to generate a SQL statement to execute on a database, and into this stream I input a double, like this:
sBuffer << dValue;
This is OK, but if dValue is a larger number than 1000000, then the number is rounded off, e.g. 1000001 becomes 1000000, and 1000007 becomes 1000010. Please help!!
I'm a bit of a newbie in VC C++, any help would be great:
I am using a basic_stringstream to generate a SQL statement to execute on a database, and into this stream I input a double, like this:
sBuffer << dValue;
This is OK, but if dValue is a larger number than 1000000, then the number is rounded off, e.g. 1000001 becomes 1000000, and 1000007 becomes 1000010. Please help!!