acos
This function is used by Ignition's Expression language.
Descriptionβ
Returns the arc cosine of number, which must be a number between -1 and 1. The results will be an angle expressed in radians in the range of 0.0 through pi.
Syntaxβ
acos(number)
Parametersβ
| Type | Parameter | Description |
|---|---|---|
| Float | number | The number to get the arc cosine of. Must be a value between -1 and 1. |
Resultsβ
Float - The arc cosine of the value provided.
Examplesβ
Code Snippet
acos(.38) //returns 1.181