compareNumbers()
Overview
public boolean function compareNumbers(
required numeric leftHandSide
, required string operator
, required numeric rightHandSide
)
Returns true or false based on the comparison of two numbers + the supplied operator. Valid operators are: eq, neq, lt, lte, gt and gte.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| leftHandSide | numeric | Yes | Number for the left hand side of the expression |
| operator | string | Yes | Operator to use |
| rightHandSide | numeric | Yes | Number for the right hand side of the expression |