This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Currency Members
Public:
Constructor
Methods
Abs |
Returns the absolute value of the given Currency. |
Add |
Adds two Currency values. |
Compare |
Compares two Currency values and returns an integer that indicates the result of the comparison. |
CompareTo |
Compares this instance to a specified Object. |
Divide |
Divides two Currency values and produces a Decimal result. |
Equals |
Overloaded. Determines whether two values are equal. |
Floor |
Rounds a Currency toward negative infinity to the nearest integer value. |
Format |
Overloaded. Converts a numeric value to a String. |
FromOACurrency |
Creates a Currency from an OLE Automation Currency. |
FromString |
Converts a String to a Currency. |
GetHashCode |
Gets the hash code for this instance of Currency. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Max |
Returns the larger of two Currency values. |
Min |
Returns the smaller of two Currency values. |
Multiply |
Multiplies two Currency values and returns a Decimal result. |
Negate |
Returns the negated value of the specified Currency. |
Parse |
Overloaded. Converts a String to a Currency. |
Round |
Rounds a Currency value to a specified number of places. |
Subtract |
Subtracts two specified Currency values. |
ToDecimal |
Converts a Currency to a Decimal. |
ToDouble |
Converts a Currency to a Double. |
ToInt32 |
Converts a Currency to an Int32. |
ToInt64 |
Converts a Currency to an Int64. |
ToOACurrency |
Creates an OLE Automation Currency from a Currency instance. |
ToSingle |
Converts a Currency to a Single. |
ToString |
Overloaded. Converts a Currency to a String. |
ToUInt32 |
Converts a Currency to a UInt32. |
ToUInt64 |
Converts a Currency to a UInt64. |
Truncate |
Truncates a Currency to an integer value. |
Operators and Type Conversions
Fields
Empty |
Representing the constant that is a Currency value that is empty. |
MaxValue |
Representing the constant that is the largest possible Currency value. |
MinusOne |
Representing the constant that is the currency value-1. |
MinValue |
Representing the constant that is the smallest possible Currency value. |
One |
Representing the constant that is the Currency value 1. |
Zero |
Representing the constant that is the Currency value 0. |
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
Currency Structure | System Namespace