The sin() function calculates the sine of an angle specified in degrees.
sin(num.exp)
num.exp | Specifies the angle used to calculate the sine. If the expression is less than 0 or greater than 360 degrees, mod(exp,360) is used to adjust it to this range before the sine is calculated. |
The result of this function is a fraction in the range -1 to 1.
This function is only accurate to 3 digits.
Trigonometric function results can vary slightly between FlashBASIC or BASIC compilers.