## MoneyWorks Manual

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.

Symbol | Operation | Usage |
---|---|---|

+ | numeric addition | `A + B` The result is the sum of A and B |

- | numeric subtraction | `A - B` The result is B subtracted from A. |

- | numeric negation | `-A` The result is minus A. |

* | numeric multiplication | `A * B` The result is A multiplied by B |

/ | numeric division | `A / B` The result is A divided by B. |