Multiplication, division and modulo operators (binary)

The multiplication, division, and modulo operators are *, /, and %, respectively.

Syntax
  Multiplication: 
  <operand> * <operand> 
  Division:       
  <operand> / <operand> 
  Modulo:         
  <operand> % <operand> 
Description

The * operator multiplies two operands, the / operator performs an integer division of the two operands and returns the quotient of the operation. The % operator performs an integer division of the two operands and returns the remainder of the operation

The operands can be any expression evaluating to an absolute expression. The second operand in a division or modulo operation cannot be zero.

Example

See the following listing for an example of the multiplication, division, and modulo operators.

Listing: Multiplication, division, and modulo operators

23 * 4    ; multiplication (= 92)
23 / 4    ; division (= 5)

23 % 4    ; remainder(= 3)