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

Returns the integer remainder of a division.

Supporter oss!