Skip to main content
Version: 7.9

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

    • 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