Creates a Currency from an OLE Automation Currency.
[Visual Basic] Public Shared Function FromOACurrency( _ ByVal cy As Long _ ) As Currency [C#] public static Currency FromOACurrency( long cy ); [C++] public: static Currency FromOACurrency( __int64 cy ); [JScript] public static function FromOACurrency( cy : long ) : Currency;
A Currency value that is the bitwise equivalent of the OLE Automation Currency value.
The FromOACurrency method provides the functionality of creating a Currency value from an OLE Automation Currency. The OLE Automation Currency value is stored as a long (Int64).
This method applies no scaling to the Currency value and is, essentially, a bitwise copy of the value, bit by bit.