Decimal Methods

 

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(Decimal, Decimal)

Adds two specified Decimal values.

System_CAPS_pubmethodSystem_CAPS_staticCeiling(Decimal)

Returns the smallest integral value that is greater than or equal to the specified decimal number.

System_CAPS_pubmethodSystem_CAPS_staticCompare(Decimal, Decimal)

Compares two specified Decimal values.

System_CAPS_pubmethodCompareTo(Decimal)

Compares this instance to a specified Decimal object and returns a comparison of their relative values.

System_CAPS_pubmethodCompareTo(Object)

Compares this instance to a specified object and returns a comparison of their relative values.

System_CAPS_pubmethodSystem_CAPS_staticDivide(Decimal, Decimal)

Divides two specified Decimal values.

System_CAPS_pubmethodEquals(Decimal)

Returns a value indicating whether this instance and a specified Decimal object represent the same value.

System_CAPS_pubmethodSystem_CAPS_staticEquals(Decimal, Decimal)

Returns a value indicating whether two specified instances of Decimal represent the same value.

System_CAPS_pubmethodEquals(Object)

Returns a value indicating whether this instance and a specified Object represent the same type and value.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodSystem_CAPS_staticFloor(Decimal)

Rounds a specified Decimal number to the closest integer toward negative infinity.

System_CAPS_pubmethodSystem_CAPS_staticFromOACurrency(Int64)

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

System_CAPS_pubmethodSystem_CAPS_staticGetBits(Decimal)

Converts the value of a specified instance of Decimal to its equivalent binary representation.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetTypeCode()

Returns the TypeCode for value type Decimal.

System_CAPS_pubmethodSystem_CAPS_staticMultiply(Decimal, Decimal)

Multiplies two specified Decimal values.

System_CAPS_pubmethodSystem_CAPS_staticNegate(Decimal)

Returns the result of multiplying the specified Decimal value by negative one.

System_CAPS_pubmethodSystem_CAPS_staticParse(String)

Converts the string representation of a number to its Decimal equivalent.

System_CAPS_pubmethodSystem_CAPS_staticParse(String, IFormatProvider)

Converts the string representation of a number to its Decimal equivalent using the specified culture-specific format information.

System_CAPS_pubmethodSystem_CAPS_staticParse(String, NumberStyles)

Converts the string representation of a number in a specified style to its Decimal equivalent.

System_CAPS_pubmethodSystem_CAPS_staticParse(String, NumberStyles, IFormatProvider)

Converts the string representation of a number to its Decimal equivalent using the specified style and culture-specific format.

System_CAPS_pubmethodSystem_CAPS_staticRemainder(Decimal, Decimal)

Computes the remainder after dividing two Decimal values.

System_CAPS_pubmethodSystem_CAPS_staticRound(Decimal)

Rounds a decimal value to the nearest integer.

System_CAPS_pubmethodSystem_CAPS_staticRound(Decimal, Int32)

Rounds a Decimal value to a specified number of decimal places.

System_CAPS_pubmethodSystem_CAPS_staticRound(Decimal, Int32, MidpointRounding)

Rounds a decimal value to a specified precision. A parameter specifies how to round the value if it is midway between two other numbers.

System_CAPS_pubmethodSystem_CAPS_staticRound(Decimal, MidpointRounding)

Rounds a decimal value to the nearest integer. A parameter specifies how to round the value if it is midway between two other numbers.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(Decimal, Decimal)

Subtracts one specified Decimal value from another.

System_CAPS_pubmethodSystem_CAPS_staticToByte(Decimal)

Converts the value of the specified Decimal to the equivalent 8-bit unsigned integer.

System_CAPS_pubmethodSystem_CAPS_staticToDouble(Decimal)

Converts the value of the specified Decimal to the equivalent double-precision floating-point number.

System_CAPS_pubmethodSystem_CAPS_staticToInt16(Decimal)

Converts the value of the specified Decimal to the equivalent 16-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToInt32(Decimal)

Converts the value of the specified Decimal to the equivalent 32-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToInt64(Decimal)

Converts the value of the specified Decimal to the equivalent 64-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToOACurrency(Decimal)

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

System_CAPS_pubmethodSystem_CAPS_staticToSByte(Decimal)

Converts the value of the specified Decimal to the equivalent 8-bit signed integer.

System_CAPS_pubmethodSystem_CAPS_staticToSingle(Decimal)

Converts the value of the specified Decimal to the equivalent single-precision floating-point number.

System_CAPS_pubmethodToString()

Converts the numeric value of this instance to its equivalent string representation.(Overrides ValueType.ToString().)

System_CAPS_pubmethodToString(IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.

System_CAPS_pubmethodToString(String)

Converts the numeric value of this instance to its equivalent string representation, using the specified format.

System_CAPS_pubmethodToString(String, IFormatProvider)

Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.

System_CAPS_pubmethodSystem_CAPS_staticToUInt16(Decimal)

Converts the value of the specified Decimal to the equivalent 16-bit unsigned integer.

System_CAPS_pubmethodSystem_CAPS_staticToUInt32(Decimal)

Converts the value of the specified Decimal to the equivalent 32-bit unsigned integer.

System_CAPS_pubmethodSystem_CAPS_staticToUInt64(Decimal)

Converts the value of the specified Decimal to the equivalent 64-bit unsigned integer.

System_CAPS_pubmethodSystem_CAPS_staticTruncate(Decimal)

Returns the integral digits of the specified Decimal; any fractional digits are discarded.

System_CAPS_pubmethodSystem_CAPS_staticTryParse(String, Decimal)

Converts the string representation of a number to its Decimal equivalent. A return value indicates whether the conversion succeeded or failed.

System_CAPS_pubmethodSystem_CAPS_staticTryParse(String, NumberStyles, IFormatProvider, Decimal)

Converts the string representation of a number to its Decimal equivalent using the specified style and culture-specific format. A return value indicates whether the conversion succeeded or failed.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToBoolean(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToBoolean.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToByte(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToByte.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToChar(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. This conversion is not supported. Attempting to use this method throws an InvalidCastException.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToDateTime(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. This conversion is not supported. Attempting to use this method throws an InvalidCastException.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToDecimal(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToDecimal.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToDouble(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToDouble.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToInt16(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToInt16.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToInt32(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToInt32.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToInt64(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToInt64.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToSByte(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToSByte.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToSingle(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToSingle.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToType(Type, IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToType.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToUInt16(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToUInt16.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToUInt32(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToInt32.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIConvertible.ToUInt64(IFormatProvider)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IConvertible.ToInt64.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDeserializationCallback.OnDeserialization(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Runs when the deserialization of an object has been completed.

Return to top
Show: