GreaterThan

GreaterThan[y]

is an operator form that yields x>y when applied to an expression x.

Details

Examples

open allclose all

Basic Examples  (3)

Check numeric order:

For symbolic expressions, the result is given as an inequality:

Select the numbers greater than 10 in a list:

Scope  (4)

Use GreaterThan with numbers:

Use GreaterThan with numeric Quantity objects:

Use GreaterThan with dates:

Use symbolic values:

Applications  (2)

Countries with a population larger than 100 million people:

Construct an association listing the countries and elevations of European mountains higher than 4500 meters:

Properties & Relations  (2)

Obtain the respective GDP of the class of countries with a population larger than 100 million people:

This is the total:

The same total can be obtained using the Entity object combining those countries:

Compare the alternative notations:

Introduced in 2015
 (10.3)