Purpose
Returns the sine of a numeric value that represents an angle in either degrees or radians.
Syntax
Sine (degrees):
►►─┬─ SINE-DEGREES ─┬─ ( value ) ─────────────────────────────────────────────►◄ ├─ SINEDEG ──────┤ └─ SIND ─────────┘
Sine (radians):
►►─┬─ SINE-RADIANS ─┬─ ( value ) ─────────────────────────────────────────────►◄ ├─ SINERAD ──────┤ └─ SINR ─────────┘
Parameters
Returns the sine value in degrees.
Returns the sine value in radians.
Specifies the numeric value representing the angle, in degrees or radians, whose sine is calculated.
Value can be:
Example
In the following example, the sine (degrees) of -60 is calculated and moved to WK-RESULT (PIC S999V9999):
MOVE SIND(-60) TO WK-RESULT. Return value: -0.8660
|
Copyright © 2014 CA.
All rights reserved.
|
|