Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Mathematical Operators

The following mathematical operators are supported in Office Basic.

This chapter provides a short overview of all of the arithmetic operators that you may need for calculations within a program.

"-" Operator

Subtracts two values.

"*" Operator

Multiplies two values.

"+" Operator

Adds or combines two expressions.

"/" Operator

Divides two values.

"\" Operator

Performs the integer division on two numbers and returns the result.

"^" Operator

Raises a number to a power.

Mod Operator

The MOD operator takes in two numeric expressions and returns the remainder of the division.