Provides helper methods to allow conversion of managed Decimal objects to and from their OLE Automation equivalents.
| C# | Visual Basic |
public static class DecimalHelper
Public NotInheritable Class DecimalHelper
| All Members | Methods | ||||
| Icon | Member | Description |
|---|---|---|
| FromOACurrency(Int64) |
Converts the specified 64-bit signed integer, which contains an OLE Automation Currency value, to the equivalent Decimal value.
| |
| ToOACurrency(Decimal) |
Converts the specified Decimal value to the equivalent OLE Automation Currency value, which is contained in a 64-bit signed integer.
|
| Object | |
| DecimalHelper | |