Creates an OLE Automation Currency from a Currency instance.
[Visual Basic] Public Function ToOACurrency() As Long [C#] public long ToOACurrency(); [C++] public: __int64 ToOACurrency(); [JScript] public function ToOACurrency() : long;
An OLE Automation Currency value.
The ToOACurrency method converts a specified Currency to a an OLE Automation Currency value. It is stored as a long (Int64), that is bitwise equal to the Currency instance this was called upon.
This method applies no scaling to the currency value and is, essentially, doing a bitwise copy of the value, bit by bit.