| Applying science to business management |
  
Greater Than
Format: x > y
Arguments: [any] x, y Values to compare
Returns: (bool) True if x is greater than
y, false otherwise
Note: When comparing text strings, the string that is
last in an alphabetic sort is the greatest. Lists and matrices
are compared element-by-element. The argument that contains the
greater element in the location where the first difference is
found is the greater argument. When making comparisons between
data types, e.g., comparing a string to a number, the following
hierarchy is used: null < false = zero < true
= all non-zero numbers < all strings < all lists and
objects < all function pointers.
Examples: 3>3 = false
3>2 = true
"apple">"orange"
= false
true>false = true
See Also: compare,
true, false, Equal, Not Equal, Greater Than or Equal,
Less Than, Less Than or Equal
|