  Navigation Synopsis Numeric values. Types `int`, `real`, `num` Usage `import Number;` (deprecated: use `import util::Math;`) Description Numbers include integers (values of type `int`) and reals (values of type `real`). If both operands have the same type (`int` or `real`) then the operator is the corresponding operator on integers or reals. Otherwise, integer arguments are first converted to real and the real operator is applied. The following operations are provided on numbers: Addition: Addition on numeric values. Conditional: Conditional expression for numeric values. Division: Division on numeric values. Equal: Equality operator on numeric values. GreaterThan: Greater than operator on numeric values. GreaterThanOrEqual: Greater than or equal operator on numeric values. LessThan: Less than operator on numeric values. LessThanOrEqual: Less than or equal operator on numeric values. Multiplication: Multiply two numeric values. Negation: Negate a numeric value. NotEqual: Not equal operator on numeric values. Remainder: Remainder of two integer values. Subtraction: Subtract two numeric values. | [New Subconcept] | [Recompile Course] | [Warnings] 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.