The fmod() function divides x by y and returns the remainder (modulo) of the division.
|x||Required. A number|
In the following example we will use the fmod() function to return the remainder of 5/2:
The output of the code above will be:
Your message has been sent to W3Schools.