Navigation
Synopsis Multiply two numeric values.
Syntax Exp1 * Exp2
Types
Exp1 Exp2 Exp1 * Exp2
int int int
int real real
real real real
Description Yields the result of multiplying the values of Exp1 and Exp2.
Examples
rascal>12 * 13
int: 156
rascal>12 * 13.5
real: 162.0
rascal>-12*13
int: -156

Questions
Question [1].
The type of -16 * 16 is

Question [2].
The type of 7 * -19.9421942822157882720 is

Question [3].
The type of 4.4614280266664880 * 17 is

Question [4].
-6.02542424519807440 * 7.8062511288701880 == 



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.