Mathematical Operators

The following mathematical operators are supported in LibreOffice Basic.

This chapter provides a short overview of all of the arithmetical 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

Raises a number to a power.

Mod Operator

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

Please support us!