MySQL DIV Function
Definition and Usage
The DIV function is used for integer division where n is divided by m. An integer value is returned.
Syntax
n DIV m
Parameter Values
Parameter | Description |
---|---|
n | Required. The value that will be divided by m |
m | Required. The value that will be divided into n |
Technical Details
Works in: | MySQL 5.7, MySQL 5.6, MySQL 5.5, MySQL 5.1, MySQL 5.0, MySQL 4.1, MySQL 4.0, MySQL 3.23 |
---|