Reference Guide
3-294 Full Command and Function Reference
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
x
y
→
0/1
#n
1
#n
2
→
0/1
“string
1
”
“string
2
”
→
0/1
x
'symb'
→
'x < symb'
'symb'
x
→
'symb < x'
'symb
1
'
'symb
2
'
→
'symb
1
< symb
2
'
x_unit
1
y_unit
2
→
0/1
x_unit
'symb'
→
'x_unit < symb'
'symb'
x_unit
→
'symb < x_unit'
See also: ≤, >, ≥, ==, ≠
≤ (Less than or Equal)
Type: Function
Description: Less Than or Equal Function: Tests whether one object is less than or equal to another object.
The function ≤ returns a true test result (1) if the first argument is less 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, “less than or equal” means numerically equal or smaller (1 is
less than 2). For real numbers, “less than or equal” also means equally or more negative (–2 is less
than –1). For strings, “less than or equal” means alphabetically equal or previous (“ABC” is less
than or equal to “DEF”; “AAA” is less than or equal to “AAB”; “A” is less than or equal to
“AA”). In general, characters are ordered according to their character codes. This means, for
example, that “B” is less than “a”, 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 temperature 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 left-shift of the Xkey above the 8).
Flags: Numerical Results (–3)
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
x
y
→
0/1
#n
1
#n
2
→
0/1
“string
1
”
“string
2
”
→
0/1
x
'symb'
→
'x ≤symb'
'symb'
x
→
'symb ≤x'
'symb
1
'
'symb
2
'
→
'symb
1
≤symb
2
'
x_unit
1
y_unit
2
→
0/1
x_unit
'symb'
→
'x_unit ≤symb'
'symb'
x_unit
→
'symb ≤x_unit'
See also: <, >, ≥, ==, ≠