Skip to content

dos_sin

Dale Fugier edited this page Nov 6, 2023 · 1 revision

Calculates the sine of an angle.

Syntax

(dos_sin angle)

Parameters

angle

The angle in radians.

Returns

The sine, if successful.

nil on error.

Example

Command: (dos_sin (dos_pi))
0
Command: (dos_sin (/ (dos_pi) 2))
1
Command: (dos_sin (dos_dtr 30))
0.5

Clone this wiki locally