Operators are used to perform operations on variables and values.
In the example below, we use the + operator to add together two values:
+
Example
echo(2 + 5)
ChardScript only support 4 Arithmetic Operators:
Addition
x + y
-
Subtraction
x - y
*
Multiplication
x * y
/
Division
x / y
Last updated 3 years ago