The methods of System.Decimal are listed below. For a list of all members, see the Decimal Members list.
See Also: Inherited members from System.ValueType
staticAdd(decimal, decimal) : decimal Adds two decimal values together. staticCeiling(decimal) : decimal Documentation for this section has not yet been entered. staticCompare(decimal, decimal) : int Compares the values of two decimal values and returns sort order information.CompareTo(decimal) : int Returns the sort order of the current instance compared to the specified decimal.CompareTo(object) : int Returns the sort order of the current instance compared to the specified object . staticDivide(decimal, decimal) : decimal Divides the value of one decimal by another.Equals(decimal) : bool Determines whether the current instance and the specified decimal have the same value. Trailing zero digits in the fractional part are ignored. overrideEquals(object) : bool Determines whether the current instance and the specified object have the same type and value. Trailing zero digits in the fractional part are ignored. staticEquals(decimal, decimal) : bool Determines whether two decimal values have the same value. Trailing zero digits in the fractional part are ignored. staticFloor(decimal) : decimal Rounds a decimal value to the closest integer towards negative infinity. staticFromOACurrency(long) : decimal Documentation for this section has not yet been entered. staticGetBits(decimal) : int[] Returns a binary representation of the specified decimal value. overrideGetHashCode() : int Generates a hash code for the current instance. Trailing zero digits in the fractional part are ignored.GetTypeCode() : TypeCode Documentation for this section has not yet been entered. staticMultiply(decimal, decimal) : decimal Returns the result of multiplying two decimal values. staticNegate(decimal) : decimal Returns the result of multiplying a decimal value by negative one. staticParse(string) : decimal Returns the specified string converted to a decimal value. staticParse(string, System.Globalization.NumberStyles) : decimal Returns the specified string converted to a decimal value. staticParse(string, IFormatProvider) : decimal Returns the specified string converted to a decimal value. staticParse(string, System.Globalization.NumberStyles, IFormatProvider) : decimal Returns the specified string converted to a decimal value. staticRemainder(decimal, decimal) : decimal Computes the remainder after dividing two decimal values. staticRound(decimal) : decimal Documentation for this section has not yet been entered. staticRound(decimal, int) : decimal Rounds a decimal value to a specified number of decimal places. staticRound(decimal, MidpointRounding) : decimal Documentation for this section has not yet been entered. staticRound(decimal, int, MidpointRounding) : decimal Documentation for this section has not yet been entered. staticSubtract(decimal, decimal) : decimal Subtracts one decimal value from another. staticToByte(decimal) : byte Documentation for this section has not yet been entered. staticToDouble(decimal) : double Documentation for this section has not yet been entered. staticToInt16(decimal) : short Documentation for this section has not yet been entered. staticToInt32(decimal) : int Documentation for this section has not yet been entered. staticToInt64(decimal) : long Documentation for this section has not yet been entered. staticToOACurrency(decimal) : long Documentation for this section has not yet been entered. staticToSByte(decimal) : sbyte Documentation for this section has not yet been entered. staticToSingle(decimal) : float Documentation for this section has not yet been entered. overrideToString() : string Returns a canonical string representation of the value of the current instance.ToString(IFormatProvider) : string Returns a string representation of the value of the current instance.ToString(string) : string Returns a string representation of the value of the current instance.ToString(string, IFormatProvider) : string Returns a string representation of the value of the current instance. staticToUInt16(decimal) : ushort Documentation for this section has not yet been entered. staticToUInt32(decimal) : uint Documentation for this section has not yet been entered. staticToUInt64(decimal) : ulong Documentation for this section has not yet been entered. staticTruncate(decimal) : decimal Rounds a decimal value towards zero, to the closest integer value. staticTryParse(string, out decimal) : bool Documentation for this section has not yet been entered. staticTryParse(string, System.Globalization.NumberStyles, IFormatProvider, out decimal) : bool Documentation for this section has not yet been entered.