Rexx - acos Command



This command is used to get the arc-cosine conversion of a number.

Syntax

acos(value) 

Parameters

  • value − The value as an input to the arc-cosine function.

Return Value

This method returns the arc-cosine value of the input-ed number.

Example

/* Main program */ 
say acos(0.23)

When we run the above program we will get the following result.

Output

1.3387186 
rexx_brexx.htm
Advertisements