Arithmetic expressions

From WICE Wiki v2.99
Revision as of 08:47, 9 September 2026 by Mathias (talk | contribs) (Arithmetic expressions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Arithmetic expressions contain one or more arithmetic operations which can be grouped by parentheses. The supported arithmetic operators are as follows.

Operator Description Syntax Example
* Multiplication operand1 * operand2 CAN.Signal1 * 3.14
/ Division operand1 / operand2 CAN.Signal1 / 2
+ Addition operand1 + operand2 CAN.Signal1 + 2
- Subtraction operand1 - operand2 CAN.Signal1 - CAN.Signal2