Arithmetic

Arithmetic

Name

Syntax

Description

^

NUMBER^POWER

Raises a number to the power of another number.

*

NUMBER1*NUMBER2

Multiplies two numbers.

/

NUMBER1/NUMBER2

Divides two numbers and returns a floating-point result.

Mod

NUMBER1 Mod NUMBER2

Divides two numbers and returns only the remainder.

+

NUMBER1 + NUMBER2

Adds two numbers.

-

NUMBER1 - NUMBER2

Subtracts one number from another, or indicates the negative value of a numeric expression.