Share via


EcoResFloatValue.compareTo Method

Compares this record against the given record value.

Syntax

public int compareTo(EcoResValue _value)

Run On

Called

Parameters

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

Return Value

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

Exceptions

Exception Condition
Error

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

See Also

Reference

EcoResFloatValue Table