Relational Operators in Trillium

It is used to compare two numbers by checking whether they are equal or not, less than, less than or equal to, greater than, greater than or equal to.


The Relational Operators in Trillium are the following:

  • == (Equal to)– This operator is used to check if both operands are equal.
  • != (Not equal to)– Can check if both operands are not equal.
  • > (Greater than)– Can check if the first operand is greater than the second.
  • < (Less than)- Can check if the first operand is lesser than the second.
  • >= (Greater than equal to)– Check if the first operand is greater than or equal to the second.
  • <= (Less than equal to)– Check if the first operand is lesser than or equal to the second

A Basic Conditional Statement


If the relational statement is satisfied (it is true), then the program will return the value 1, otherwise, if the relational statement is not satisfied (it is false), the program will return the value 0. The 1's and 0's are still perceived as 'True' and 'False' however.




An error has occurred. This application may no longer respond until reloaded. Reload 🗙