You are here: Record management > Building expressions with the Expression Builder > Expression evaluation > Multiply, divide, and remainder operations

Multiply, divide, and remainder operations

This table shows the valid combinations of types when the operator is *, / or %. To understand the calculation of the expression A * B, find the type of A in the Left Hand Side (rows) of each table. Find the type of B in the Right Hand Side (columns) if the table. Consult the numbered notes for the details of casting or conversion.

Right Hand Side

DateTime

Date

Time of Day

Integer

Decimal

Double

True or False

Other (text)

Left Hand Side

DateTime

X

X

X

X

X

X

X

X

Date

X

X

X

X

X

X

X

X

Time of Day

X

X

X

X

X

X

X

X

Integer

X

X

X

1

1

1

X

X

Decimal

X

X

X

1

1

1

X

X

Double

X

X

X

1

1

1

X

X

TrueFalse

X

X

X

X

X

X

X

X

Other (text)

X

X

X

X

X

X

X

X

Notes for multiplication, division, and remainder operations: