The information in this article applies to:
SUMMARYThe following information explains how to translate the DBMONEY datatype, which is a structure containing 2 long INTs, to the dollar amount it represents. MORE INFORMATION
The internal storage of the DBMONEY datatype keeps track of 1/100
of a cent, which equates to .0001 of a dollar. Therefore, you can
have precision to four decimal places.
round(2, ((high*4294967296)+low) / 10000) This would return $429,496.73. Additional query words: DB-Library DB-Lib dblib
Keywords : kbprg SSrvGen SSrvServer SSrvWinNT |
Last Reviewed: November 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |