# FreeBASIC - 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

## FreeBASIC

greater than or equal to the possible of use:```
a = 4 >= 2 ' a = true
if x >= 12 then
do while y >= 0
y=y-1
loop
end if
```

## FreeBASIC

even one example in what situations we can use the operation greater than or equal to:```
x >= y / 5
2 >= f(&HAF)
(j + 8) >= 3
```

## FreeBASIC

Other pieces of example codes:&Hff >= y

you can find it in the following collections: relational operators

greater than or equal to in another programming language: