Difference between revisions of "Core.Terms.IsLessOrEqual"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
== Description == | == Description == | ||
− | + | IsLessOrEqual is a BooleanTerm. It will return '''true''' if and only if the <left> value is less or equal than the <right> value. The following operator can be used: '''<=''' | |
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | The returned Boolean value of comparison of the 2 operands.}} | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | The returned Boolean value of comparison of the 2 operands.}} |
Latest revision as of 04:48, 24 June 2019
Contents
Classification
Name | IsLessOrEqual |
Short Description | Determines if an operand is less or equal than another operand |
Class | Term |
Extension | OTX Core library |
Group | Operations |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
BooleanValue = SimpleTerm1 <= SimpleTerm2;
Description
IsLessOrEqual is a BooleanTerm. It will return true if and only if the <left> value is less or equal than the <right> value. The following operator can be used: <=
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | The returned Boolean value of comparison of the 2 operands. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Left | SimpleDataType | Term | - | [1] | Left operand |
Right | SimpleDataType | Term | - | [1] | Right operand |
OTL Examples
Integer MyValue1 = 12;
Float MyValue2 = 12.000001;
String MyValue3 = "B";
Boolean result;
result = MyValue1 <= MyValue2;
result = MyValue3 <= "A";
result = MyValue3 <= "B";
result = MyValue3 <= "C";