Mono Class Library: Overview

System.Decimal: Method Members

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

Public Methods

static
Add(decimal, decimal) : decimal
Adds two decimal values together.
static
Ceiling(decimal) : decimal
Documentation for this section has not yet been entered.
static
Compare(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 .
static
Divide(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.
override
Equals(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.
static
Equals(decimal, decimal) : bool
Determines whether two decimal values have the same value. Trailing zero digits in the fractional part are ignored.
static
Floor(decimal) : decimal
Rounds a decimal value to the closest integer towards negative infinity.
static
FromOACurrency(long) : decimal
Documentation for this section has not yet been entered.
static
GetBits(decimal) : int[]
Returns a binary representation of the specified decimal value.
override
GetHashCode() : 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.
static
Multiply(decimal, decimal) : decimal
Returns the result of multiplying two decimal values.
static
Negate(decimal) : decimal
Returns the result of multiplying a decimal value by negative one.
static
Parse(string) : decimal
Returns the specified string converted to a decimal value.
static
Parse(string, System.Globalization.NumberStyles) : decimal
Returns the specified string converted to a decimal value.
static
Parse(string, IFormatProvider) : decimal
Returns the specified string converted to a decimal value.
static
Parse(string, System.Globalization.NumberStyles, IFormatProvider) : decimal
Returns the specified string converted to a decimal value.
static
Remainder(decimal, decimal) : decimal
Computes the remainder after dividing two decimal values.
static
Round(decimal) : decimal
Documentation for this section has not yet been entered.
static
Round(decimal, int) : decimal
Rounds a decimal value to a specified number of decimal places.
static
Round(decimal, MidpointRounding) : decimal
Documentation for this section has not yet been entered.
static
Round(decimal, int, MidpointRounding) : decimal
Documentation for this section has not yet been entered.
static
Subtract(decimal, decimal) : decimal
Subtracts one decimal value from another.
static
ToByte(decimal) : byte
Documentation for this section has not yet been entered.
static
ToDouble(decimal) : double
Documentation for this section has not yet been entered.
static
ToInt16(decimal) : short
Documentation for this section has not yet been entered.
static
ToInt32(decimal) : int
Documentation for this section has not yet been entered.
static
ToInt64(decimal) : long
Documentation for this section has not yet been entered.
static
ToOACurrency(decimal) : long
Documentation for this section has not yet been entered.
static
ToSByte(decimal) : sbyte
Documentation for this section has not yet been entered.
static
ToSingle(decimal) : float
Documentation for this section has not yet been entered.
override
ToString() : 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.
static
ToUInt16(decimal) : ushort
Documentation for this section has not yet been entered.
static
ToUInt32(decimal) : uint
Documentation for this section has not yet been entered.
static
ToUInt64(decimal) : ulong
Documentation for this section has not yet been entered.
static
Truncate(decimal) : decimal
Rounds a decimal value towards zero, to the closest integer value.
static
TryParse(string, out decimal) : bool
Documentation for this section has not yet been entered.
static
TryParse(string, System.Globalization.NumberStyles, IFormatProvider, out decimal) : bool
Documentation for this section has not yet been entered.