Easy Tutorial
❮ Func Ftp Chmod Func Error Set Exception Handler ❯

PHP fmod() Function

PHP Math Reference Manual

Example

Returns the floating-point remainder of x/y:


Definition and Usage

The fmod() function returns the floating-point remainder of x/y.


Syntax

Parameter Description
x Required. Specifies the dividend.
y Required. Specifies the divisor.

Technical Details

Return Value: Floating-point remainder of x/y.
Return Type: Float
--- ---
PHP Version: 4.2+
--- ---
❮ Func Ftp Chmod Func Error Set Exception Handler ❯