Larger Than

Navigation:  Language Reference > Operators > Comparison >

Larger Than

Previous pageReturn to chapter overviewNext page

Syntax

a > b

Description

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

Example

a

b

a > b

1

2

false

1.01e2

101.0

false

31

1

true

-12

-11

false

Limitations

a and b must be scalars.