14.4.4.5 LessThanOrEqual

This method determines if the first of two OracleDecimal values is less than or equal to the second.

Declaration

// C#
public static bool LessThanOrEqual(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 less than or equal to 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.