JavaScript tutorial:
sin method

 

Applies to: Math Object

The sin method is use to ge the sine of a number.

Syntax

Math.sin(number)

The number argument is a numeric expression for which the sine is sought.

Return value

Returns the sine of a number.

Example

The return value is the sine of its numeric argument.

See also: acos Method, asin Method, atan Method, cos Method, Math Object Methods, tan Method