Edit

Operator Types

The MoneyWorks operators are overloaded. That is, their behaviour depends on the type of the operands that you use with them. For example, the + operator has three different effects, depending on whether its operands are numbers, strings, or a date and a number.

Some operators have shorthand aliases. For example ! is equivalent to Not

Mathematical Operators

The mathematical operators are used for arithmetic involving numbers.

SymbolOperationUsage
+numeric additionA + B
The result is the sum of A and B
-numeric subtractionA - B
The result is B subtracted from A.
-numeric negation-A
The result is minus A.
*numeric multiplicationA * B
The result is A multiplied by B
/numeric divisionA / B
The result is A divided by B.