Skip to content Skip to sidebar Skip to footer

Convert Decimal (sql) To Double C++

I have a SQL query which return records with only one column of type decimal (18,18). In the C++ code I need to convert each value to double to add it to an array. What's the best

Solution 1:

I would suggest converting it to a Real before taking it from the database they are roughly the same datatype. http://msdn.microsoft.com/en-us/library/ms173773.aspx


Post a Comment for "Convert Decimal (sql) To Double C++"