Operator: /
The Division operator /
is used to divide one value by another.
The values can be of the following type:
number
duration
This function is SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a new value that is the result of the division of value1
by value2
.
The type of the resulting value is dependent on the types of value1
and value2
:
number / number returns a number
duration / number returns a duration
duration / duration returns a number