Operators
Operators allow you to enter more complex expressions.
The standard arithmetic operators are:
+ - * /
Standard addition, subtraction, multiplication and division
\ Floored integer divide, for example, 10\3 is 3.
% Modulo or remainder, for example, 8%3 is 2
< == > != <= >=
Less than, equal to, greater than, not equal, less than or equal, greater than or equal
GenerativeComponents follows the PODMAS rule for arithmetic:
P - Parentheses first. Do operations inside parentheses first, starting with inner most set of parentheses if more than one set is used.
O - Orders, Powers and Roots. Do exponential and root functions next.
DM - Division and Multiplication
AS - Addition and Subtraction