Type: Function
Description: Greater Than Function: Tests whether one object is greater than another object.
The function > returns a true test result (1) if the first argument is greater than the second argument, or a false test result (0) otherwise.
If one object is a symbolic (an algebraic or a name), and the other is a number or symbolic or unit object, > returns a symbolic comparison expression that can be evaluated to return a test result.
For real numbers and binary integers, “greater than” means numerically greater (2 is greater than 1). For real numbers, “greater than” also means less negative
For strings, “greater than” means alphabetically subsequent (“DEF” is greater than “ABC”; “AAB” is greater than “AAA”; “AA” is greater than “A”). In general, characters are ordered according to their character codes. This means, for example, that “a” is greater than “B”, since “B” is character code 66, and “a” is character code 97.
For unit objects, the two objects must be dimensionally consistent and are converted to common units for comparison. If you use simple temperature units, the calculator assumes the values represent temperatures and not differences in temperatures. For compound temperature units, the calculator assumes temperature units represent temperature differences. For more information on using temperature units with arithmetic functions, refer to the entry for +.
Access: | …É | (Éis the | |||
Flags: | Numerical Results |
|
|
| |
Input/Output: |
|
|
|
|
|
|
|
|
|
|
|
|
| Level 2/Argument 1 | Level 1/Argument 2 |
| Level 1/Item 1 |
|
|
|
|
|
|
|
| x | y | → | 0/1 |
|
| #n1 | #n2 | → | 0/1 |
|
| “string1” | “string2” | → | 0/1 |
|
| x | 'symb' | → | 'x > symb' |
|
| 'symb' | x | → | 'symb > x' |
|
| 'symb1' | 'symb2' | → | 'symb1 > symb2' |
|
| x_unit1 | y_unit2 | → | 0/1 |
|
| x_unit | 'symb' | → | 'x_unit > symb' |
|
| 'symb' | x_unit | → | 'symb > x_unit' |
| <, ≤, ≥, ==, |
|
|
|
|
See also: | ≠ |
|
|
| |
|
|
|
|
|
|
Type: Function
Description: Greater Than or Equal Function: Tests whether one object is greater than or equal to another object.
The function ≥ returns a true test result (1) if the first argument is greater than or equal to the second argument, or a false test result (0) otherwise.
If one object is a symbolic (an algebraic or a name), and the other is a number or symbolic or unit object, ≥ returns a symbolic comparison expression that can be evaluated to return a test result.
For real numbers and binary integers, “greater than or equal to” means numerically equal or greater (2 is greater than or equal to 1). For real numbers, “greater than or equal to” also means equally or less negative
For strings, “greater than or equal to” means alphabetically equal or subsequent (“DEF” is greater than or equal to “ABC”; “AAB” is greater than or equal to “AAA”; “AA” is greater than or equal to “A”). In general, characters are ordered according to their character codes. This means, for
Full Command and Function Reference