Division

Syntax

…num-expr… / …num-expr…

Typing

num1, num2 -> FLOAT?

num1, non-zero-const -> FLOAT

Description

Divides two numeric values.

The result is always a FLOAT. If the divisor and dividend are non-zero constants then the result is not nullable, otherwise it is, and the result of 0/0 is NULL.

Examples

expression evaluates to
84/2 42
1/0 Inf
0/0 NULL

See Also

Addition Integer division Modulo Multiplication Subtraction