DIV
Description
The DIV operator is used to calculate the result of integer division between two numbers
Syntax
Parameter Description
divisor
: Dividend, must be an integer.dividend
: Divisor, must be an integer.
Return Type
The return result is of type bigint
.
Usage Example
- Integer division:
Notes
- When the divisor is zero, it will cause the division operation to fail, resulting in NULL.