Math.sindeg(degrees) +
Top  Previous  Next


Syntax
Math.sindeg(x)

Arguments
x: A number or expression representing the angle in degrees.

Returns
A number, the sine of (x).

Description
Calculates the sine of x. This will be a value from -1.0 to 1.0.

Sample
Math.sindeg(90
);   // returns 1 (sin 90deg = 1)

Note: Requires Advanced Math Support. See here for more information

Flash MX Differences
This function is not implemented in Flash MX.

See Also
Math.acos(), Math.asin(), Math.atan(), Math.cos(), Math.cosdeg(), Math.sin(), Math.sindeg(), Math.tan() and Math.tandeg().