PHPmathfmod

Returns the floating point remainder (modulo) of the division.

Syntax

fmod(float $num1, float $num2): float