$sin

Return the sine of X.

$sin(X)

Parameters

X—angle in radians or a field (or indirect reference to a field), a variable, or a function or expression which evaluates to an angle in radians.

Return Values

Sine of X

If an error occurs, $procerror contains a negative value that identifies the exact error.

Use

Allowed in all component types.

Using $sin

The following example returns the sine of the given expression:

vSine = $sin($pi() * RADIANS)

Related Topics