Larger Than or Equal

Navigation:  Language Reference > Operators > Comparison >

Larger Than or Equal

Previous pageReturn to chapter overviewNext page

Syntax

a >= b

Description

The >= operator compares two arguments and yields a boolean. If a is less than b, then a > b yields false. If a larger than or equal to b, then a > b yields true.

Example

a

b

a >= b

1

2

false

1.01e2

101.0

true

31

1

true

-12

-11

false

Limitations

a and b must be scalars.