COleVariant v;
recordset.GetFieldValue(10, v);
COleCurrency c(v);
CString strReturnVal = c.Format();
This is correct way to read currency from database and to convert it to string. If you need...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: sslavko Search: Search took 0.07 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |