Mono Class Library: System.Decimal Overview | Members

System.Decimal.Equals Method

Determines whether two decimal values have the same value. Trailing zero digits in the fractional part are ignored.

public static bool Equals (decimal d1, decimal d2)

Parameters

d1
The first decimal to compare.
d2
The second decimal to compare.

Returns

true if d1 and d2 are numerically equal (have the same value), otherwise false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0