Menu Riverview Church

FMOD

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

SYNTAX

fmod ( float $x , float $y ) : float

PARAMETERS

x

The dividend

y

The divisor

RETURN

The floating point remainder of x/y

EXAMPLES

0.1

PHP