Object Pascal - Greater than or equal to: >=
Greater than or equal to operator is a logical operator that is used to compare two numbers.>=
Description
par1 >= par2
Input
- par1 - Any number
- par2 - Any number
Output
- Result - Logical value
Note: It works over all types of numbers.
Examples
Object Pascal
Greater than or equal to the possible of use:a := 4 >= 2; // a = true
if x >= 12 then
while y >= 0 do
dec(y);
Object Pascal
Even one example in what situations we can use the operation greater than or equal to:x >= y / 5
2 >= f($AF)
(j + 8) >= 3
Object Pascal
Other pieces of example codes:$ff >= y
You can find it in the following collections: relational operators
Greater than or equal to in another programming language: