$acos

Calculates the arc cosine as an angle.
Syntax
    $acos{value}
DocumentationCalculates the arc cosine:

    Parameters:
      value, an numerical value in the range of -1 through 1.
    Returns:
      an angle in the range of 0 through pi.
    Throws:
      java.lang.NumberFormatException if the parameter is non numerical.
Examples
Try to recalculate an angle using the $acos funktion

    $set{angle}{3.14}
    $set{cos}{$cos{$get{angle}}}

    $if{equals{$get{angle}}{$acos{$get{cos}}}}
      {
      $//The if condition is met
      $//This should but must not be the case so be careful by using such conditions
      $//to control program flow.
      }
      {
      $//The if condition is not met
      }
GroupMath
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1