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)