Share via


EcoResCurrencyValue.compareTo Method

Compares this record against the specified _value parameter.

Syntax

public int compareTo(EcoResValue _value)

Run On

Called

Parameters

  • _value
    Type: EcoResValue Table
    The value definition that contains the currency value to which to compare this record.

Return Value

Type: int
-1 if the currency value in this record is less than the value in the specified record; 0 if the currency values are identical; 1 if the currency value in this record is greater than the value in the specified record.

Exceptions

Exception Condition
Error

This record and the specified record are not comparable as they are not of the same type.

See Also

Reference

EcoResCurrencyValue Table