.sin

Description

Sin is a method that returns the sine of its input value.

Parameters

Sin takes no parameters

Usage On Numbers

num = 90.sin()
// the input value is in degrees
// this does the sine of 90 degrees, not the sine of 90 radians

log num
// returns 1

Last updated

Was this helpful?