Navigation
Synopsis Less than operator on numeric values.
Syntax Exp1 < Exp2
Types
Exp1 Exp2 Exp1 < Exp2
int int bool
int real bool
real real bool
Description Yields true if the value of Exp1 is numerically less than the value of Exp2, and false otherwise.
Examples
rascal>13 < 12
bool: false
rascal>12 < 13
bool: true
rascal>13.5 < 12
bool: false
rascal>12.5 < 13
bool: true

Questions
Question [1].
The type of 9 < 9 is

Question [2].
The type of 3.8432405528476280 < 19.0478424511834200 is

Question [3].
The type of -15 < 19 is

Question [4].
The type of 14 < 0.1344739238999920 is

Question [5].
7.6546602605601160 < -8 == 



Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.