Difference between revisions of "Core.Terms.IsGreaterOrEqual"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''RelationalOperations'''}}Category:Core Please see RelationalOperations.")
 
Line 1: Line 1:
{{DISPLAYTITLE:OTX '''RelationalOperations'''}}[[Category:Core]]
+
{{DISPLAYTITLE:OTX '''IsGreaterOrEqual'''}}[[Category:Core]]
Please see [[Core.Terms.RelationalOperations|RelationalOperations]].
+
== Classification ==
 +
{{ClassificationActivity | IsGreaterOrEqual | Determines if an operand is greater or equal than another operand | [[Term]] | [[Core|OTX Core library]] | [[Operations]] | - | - }}
 +
 
 +
== OTL Syntax ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
BooleanValue = SimpleTerm1 >= SimpleTerm2;
 +
</syntaxhighlight>
 +
 
 +
== Description ==
 +
IsGreaterOrEqual is a BooleanTerm. It will return '''true''' if and only if the <left> value is greater 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.}}
 +
 
 +
== Properties ==
 +
 
 +
{| {{TableHeader}}
 +
{{TableRowPropertiesHeader}}
 +
{{TableRowPropertie1| Left | [[Core.DataTypes.SimpleDataType|SimpleDataType]] | [[Term]] | - | [1] | Left operand}}
 +
{{TableRowPropertie2| Right| [[Core.DataTypes.SimpleDataType|SimpleDataType]] | [[Term]] | - | [1] | Right operand}}
 +
|}
 +
 
 +
== OTL Examples ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
Integer MyValue1 = 13;
 +
Float MyValue2 = 12.9999;
 +
String MyValue3 = "B";
 +
Boolean result;
 +
 
 +
result = MyValue1 >= MyValue2;
 +
result = MyValue3 >= "A";
 +
result = MyValue3 >= "B";
 +
result = MyValue3 >= "C";
 +
</syntaxhighlight>
 +
 
 +
== See also ==
 +
[[Core.Terms.IsEqual|IsEqual]] <br/>
 +
[[Core.Terms.IsNotEqual|IsNotEqual]] <br/>
 +
[[Core.Terms.IsLess|IsLess]] <br/>
 +
[[Core.Terms.IsGreater|IsGreater]] <br/>
 +
[[Core.Terms.IsLessOrEqual|IsLessOrEqual]]

Revision as of 06:57, 24 June 2019

Classification

Name IsGreaterOrEqual
Short Description Determines if an operand is greater 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

IsGreaterOrEqual is a BooleanTerm. It will return true if and only if the <left> value is greater or equal than the <right> value. The following operator can be used: >

Return Value

The Term returns the value, see table below.

Icons Note.png 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 = 13;
Float MyValue2 = 12.9999;
String MyValue3 = "B";
Boolean result;

result = MyValue1 >= MyValue2;
result = MyValue3 >= "A";
result = MyValue3 >= "B";
result = MyValue3 >= "C";

See also

IsEqual
IsNotEqual
IsLess
IsGreater
IsLessOrEqual