sin(
angle
)
Math function (Lingo only); calculates the sine of the specified angle. The angle must be expressed in radians as a floating-point number.
In JavaScript syntax, use the Math object’s sin()
function.
angle
Required. Specifies the angle.
This statement calculates the sine of pi
/2:
put sin (PI/2.0) -- 1