MySQL DIV Function
Definition and Usage
The DIV function is used for integer division (x is divided by y). An integer value is returned.
Syntax
x DIV y
Parameter Values
Parameter | Description |
---|---|
x | Required. A value that will be divided by y |
y | Required. The divisor |
Technical Details
Works in: | From MySQL 4.0 |
---|