Compare and CompareEq

Top  Previous  Next

Compare and compareEq compare two values and returns a comparison operator like >, < or =.


compare(34,45) returns <

compare(45.44443,3/4) returns >

compare(54,54) returns =


These allow you to create expressions which read correctly.


The compareEq command operates in exactly the same way as compare, but will return ≥ and ≤ instead of > and <.


compareeq(34,45) returns

compareeq(45.44443,3/4) returns

compareeq(54,54) returns =