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:

Wolfram Research (2015), GreaterThan, Wolfram Language function, https://reference.wolfram.com/language/ref/GreaterThan.html.

Text

Wolfram Research (2015), GreaterThan, Wolfram Language function, https://reference.wolfram.com/language/ref/GreaterThan.html.

CMS

Wolfram Language. 2015. "GreaterThan." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GreaterThan.html.

APA

Wolfram Language. (2015). GreaterThan. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GreaterThan.html

BibTeX

@misc{reference.wolfram_2023_greaterthan, author="Wolfram Research", title="{GreaterThan}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/GreaterThan.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_greaterthan, organization={Wolfram Research}, title={GreaterThan}, year={2015}, url={https://reference.wolfram.com/language/ref/GreaterThan.html}, note=[Accessed: 19-March-2024 ]}