14.4.4.2 GreaterThan

This method determines if the first of two OracleDecimal values is greater than the second.

Declaration

// C#
public static bool GreaterThan(OracleDecimal value1, OracleDecimal value2);

Parameters

  • value1

    The first OracleDecimal.

  • value2

    The second OracleDecimal.

Return Value

Returns true if the first of two OracleDecimal values is greater than the second; 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.