September 2017
Beginner
402 pages
9h 52m
English
The <, <=, ≤, >, >=, and ≥ operators set is used for the numerical comparison of two operands. The operands are converted to Real if they are not numeric. Consider the following code:
say 10 < 2;say "10" < "2";
In both cases in this example, the result of the comparison is False.
The two Unicode operators ≤ and ≥ are synonyms of the <= and >= ASCII forms, as follows:
say 10 ≤ 10; # Truesay 20 ≥ 10; # True
Read now
Unlock full access