# Decimal Members

**.NET Framework 1.1**

#### Public Constructors

Decimal Constructor Supported by the .NET Compact Framework. | Overloaded. Initializes a new instance of Decimal. |

#### Public Fields

MaxValue Supported by the .NET Compact Framework. | Represents the largest possible value of Decimal. This field is constant and read-only. |

MinusOne Supported by the .NET Compact Framework. | Represents the number negative one (-1). |

MinValue Supported by the .NET Compact Framework. | Represents the smallest possible value of Decimal. This field is constant and read-only. |

One Supported by the .NET Compact Framework. | Represents the number one (1). |

Zero Supported by the .NET Compact Framework. | Represents the number zero (0). |

#### Public Methods

Add Supported by the .NET Compact Framework. | Adds two specified Decimal values. |

Compare Supported by the .NET Compact Framework. | Compares two specified Decimal values. |

CompareTo Supported by the .NET Compact Framework. | Compares this instance to a specified Object. |

Divide Supported by the .NET Compact Framework. | Divides two specified Decimal values. |

Equals Supported by the .NET Compact Framework. | Overloaded. Overridden. Returns a value indicating whether two instances of Decimal represent the same value. |

Floor Supported by the .NET Compact Framework. | Rounds a specified Decimal number to the closest integer toward negative infinity. |

FromOACurrency | Converts the specified 64-bit signed integer, which contains an OLE Automation Currency value, to the equivalent Decimal value. |

GetBits Supported by the .NET Compact Framework. | Converts the value of a specified instance of Decimal to its equivalent binary representation. |

GetHashCode Supported by the .NET Compact Framework. | Overridden. Returns the hash code for this instance. |

GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |

GetTypeCode Supported by the .NET Compact Framework. | Returns the TypeCode for value type Decimal. |

Multiply Supported by the .NET Compact Framework. | Multiplies two specified Decimal values. |

Negate Supported by the .NET Compact Framework. | Returns the result of multiplying the specified Decimal value by negative one. |

Parse Supported by the .NET Compact Framework. | Overloaded. Converts the String representation of a number to its Decimal equivalent. |

Remainder Supported by the .NET Compact Framework. | Computes the remainder after dividing two Decimal values. |

Round Supported by the .NET Compact Framework. | Rounds a Decimal value to a specified number of decimal places. |

Subtract Supported by the .NET Compact Framework. | Subtracts one specified Decimal value from another. |

ToByte Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent 8-bit unsigned integer. |

ToDouble Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent double-precision floating-point number. |

ToInt16 Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent 16-bit signed integer. |

ToInt32 Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent 32-bit signed integer. |

ToInt64 Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent 64-bit signed integer. |

ToOACurrency | Converts the specified Decimal value to the equivalent OLE Automation Currency value, which is contained in a 64-bit signed integer. |

ToSByte Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent 8-bit signed integer. |

ToSingle Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent single-precision floating-point number. |

ToString Supported by the .NET Compact Framework. | Overloaded. Overridden. Converts the numeric value of this instance to its equivalent String representation. |

ToUInt16 Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent 16-bit unsigned integer. |

ToUInt32 Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent 32-bit unsigned integer. |

ToUInt64 Supported by the .NET Compact Framework. | Converts the value of the specified Decimal to the equivalent 64-bit unsigned integer. |

Truncate Supported by the .NET Compact Framework. | Returns the integral digits of the specified Decimal; any fractional digits are discarded. |

#### Public Operators and Type Conversions

Addition Operator Supported by the .NET Compact Framework. | Adds two specified Decimal values. |

Decrement Operator Supported by the .NET Compact Framework. | Decrements the Decimal operand by one. |

Division Operator Supported by the .NET Compact Framework. | Divides two specified Decimal values. |

Equality Operator Supported by the .NET Compact Framework. | Returns a value indicating whether two instances of Decimal are equal. |

Greater Than Operator Supported by the .NET Compact Framework. | Returns a value indicating whether a specified Decimal is greater than another specified Decimal. |

Greater Than Or Equal Operator Supported by the .NET Compact Framework. | Returns a value indicating whether a specified Decimal is greater than or equal to another specified Decimal. |

Increment Operator Supported by the .NET Compact Framework. | Increments the Decimal operand by 1. |

Inequality Operator Supported by the .NET Compact Framework. | Returns a value indicating whether two instances of Decimal are not equal. |

Less Than Operator Supported by the .NET Compact Framework. | Returns a value indicating whether a specified Decimal is less than another specified Decimal. |

Less Than Or Equal Operator Supported by the .NET Compact Framework. | Returns a value indicating whether a specified Decimal is less than or equal to another specified Decimal. |

Modulus Operator Supported by the .NET Compact Framework. | Returns the remainder resulting from dividing two specified Decimal values. |

Multiplication Operator Supported by the .NET Compact Framework. | Multiplies two specified Decimal values. |

Subtraction Operator Supported by the .NET Compact Framework. | Subtracts two specified Decimal values. |

Unary Negation Operator Supported by the .NET Compact Framework. | Negates the value of the specified Decimal operand. |

Unary Plus Operator Supported by the .NET Compact Framework. | Returns the value of the Decimal operand (the sign of the operand is unchanged). |

Decimal to Char Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a Unicode character. |

Decimal to Int64 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 64-bit signed integer. |

Decimal to UInt32 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 32-bit unsigned integer. |

Decimal to Int32 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 32-bit signed integer. |

Decimal to UInt16 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 16-bit unsigned integer. |

Decimal to Int16 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 16-bit signed integer. |

Decimal to SByte Conversion Supported by the .NET Compact Framework. | Converts a Decimal to an 8-bit signed integer. |

Decimal to Single Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a single-precision floating-point number. |

Decimal to Double Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a double-precision floating-point number. |

Decimal to UInt64 Conversion Supported by the .NET Compact Framework. | Converts a Decimal to a 64-bit unsigned integer. |

Decimal to Byte Conversion Supported by the .NET Compact Framework. | Converts a Decimal to an 8-bit unsigned integer. |

Double to Decimal Conversion Supported by the .NET Compact Framework. | Converts a double-precision floating-point number to a Decimal. |

Single to Decimal Conversion Supported by the .NET Compact Framework. | Converts a single-precision floating-point number to a Decimal. |

Byte to Decimal Conversion Supported by the .NET Compact Framework. | Converts an 8-bit unsigned integer to a Decimal. |

Char to Decimal Conversion Supported by the .NET Compact Framework. | Converts a Unicode character to a Decimal. |

Int16 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 16-bit signed integer to a Decimal. |

Int32 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 32-bit signed integer to a Decimal. |

Int64 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 64-bit signed integer to a Decimal. |

SByte to Decimal Conversion Supported by the .NET Compact Framework. | Converts an 8-bit signed integer to a Decimal. |

UInt16 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 16-bit unsigned integer to a Decimal. |

UInt32 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 32-bit unsigned integer to a Decimal. |

UInt64 to Decimal Conversion Supported by the .NET Compact Framework. | Converts a 64-bit unsigned integer to a Decimal. |

#### Protected Methods

Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |

MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |