…num-expr… / …num-expr…
num1, num2 -> FLOAT?
num1, non-zero-const -> FLOAT
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.
expression | evaluates to |
---|---|
84/2 | 42 |
1/0 | Inf |
0/0 | NULL |