MySQL DIV() FunctionThe div() is a Math function of MySQL. This function is used for integer division, in which n is the number to be divided by the number m. SyntaxParametern : It is the number to be divided by m m : It is the number that will divide n ReturnsThis function returns the result as an integer value. Example 1Output: Example 2Output: Example 3Output:
Next TopicMySQL Math
|