Navigation
Synopsis Less than or equal 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 or equal to 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 2 <= -11 is

Question [2].
The type of 1.9054605612269240 <= 6.7575109384989400 is

Question [3].
The type of 11.4764764006644360 <= -8.08422176784496120 is

Question [4].
The type of -11 <= 10 is

Question [5].
-8.57432741342851760 <= 1 == 



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.