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 typeLong.
- divisor
- Required. A field or expression of typeLong.
Examples
Cast the value of the
file_size
field to Long
and divide by
1024:DIV(TO_LONG([file_size]),1024)