To follow up on what Eric said:
Code:
Type LARGE_INTEGER LowPart As Long HighPart As Long End Type
type called "Currency" unless I'm mistaken.
The following is from MSDN:
"But, you say, Currency isn’t an integer type, it’s a fixed-point type.
Well, yes, but the bits are the same. It’s just that behind the scenes,
COM Automation is moving a decimal point four places to the left on
all currency integers. All you have to do to display a Currency value
as a true integer is multiply by 10,000 (or use the CURRENCY-MULTIPLIER
type library constant)".
This is probably the best approach.
Hope this helps!!!!!
Cheers,
Cecil

------------------
[This message has been edited by Cecil Williams (edited August 28, 2001).]
Leave a comment: