PHP 4, PHP 5, PHP 7, PHP 8
sin - Sine

sin( float$num ): float

sin returns the sine of the num parameter. The num parameter is in radians.



A value in radians

Return Values

The sine of num

Related Functions

Example of sin

Show all examples for sin

PHP Version:

Function sin:

Mathematical Functions Functions

Most used PHP functions