NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Decimal.Equals (Decimal, Decimal)

Compares two Decimal values for equality.

[Visual Basic]
Overloads Public Shared Function Equals( _
   ByVal d1 As Decimal, _
   ByVal d2 As Decimal _
) As Boolean
[C#]
public static bool Equals(
   Decimal d1,
   Decimal d2
);
[C++]
public: static bool Equals(
   Decimal d1,
   Decimal d2
);
[JScript]
public static function Equals(
   d1 : Decimal,
   d2 : Decimal
) : Boolean;

Parameters

d1
The left operand, a Decimal.
d2
The right operand, a Decimal.

Return Value

true if the two Decimal values are equal, otherwise false.

Remarks

The Equals method compares two Decimal values to determine whether they are equal and returns a Boolean value concerning their relationship.

See Also

Decimal Structure | Decimal Members | System Namespace | Decimal.Equals Overload List