operator ==

This method determines if two OracleDecimal values are equal.

Declaration

// C#
public static bool operator == (OracleDecimal val1, OracleDecimal val2);

Parameters

  • val1

    The first OracleDecimal.

  • val2

    The second OracleDecimal.

Return Value

Returns true if their values are equal; otherwise, returns false.

Remarks

The following rules apply to the behavior of this method.

  • Any OracleDecimal that has a value compares greater than an OracleDecimal that has a null value.

  • Two OracleDecimals that contain a null value are equal.