![]() |
| ||||||||||||
Navigation |
Synopsis Equality operator on numeric values.
Syntax
Exp1 == Exp2
Types
Description Yields
true if the value of both arguments is numerically equal, and false otherwise.
Examples
rascal>12 == 12 bool: true rascal>12 == 12.0 bool: true rascal>12 == 13 bool: false rascal>12 == 13.0 bool: false rascal>3.14 == 3.14 bool: true rascal>3.14 == 3 bool: false Questions
Question [1].
![]() ![]()
Question [2].
![]() ![]()
Question [3].
![]() ![]()
Question [4].
![]() ![]()
Question [5].
![]() ![]() ![]() |