Skip to main content
Workday User Guide
Last Updated: 2023-06-23
DIV

DIV

Description

DIV
is a row function that divides two
LONG
values and returns a quotient value of type
LONG
(the result is truncated to 0 decimal places).

Syntax

DIV
(
dividend
,
divisor
)

Return Value

Returns one value per row of type
LONG
.

Input Parameters

dividend
Required. A field or expression of type
LONG
.
divisor
Required. A field or expression of type
LONG
.

Examples

Cast the value of the
file_size
field to
Long
and divide by 1024:
DIV(TO_LONG([file_size]), 1024)