This command is used to get the arc-cosine conversion of a number.
value − The value as an input to the arc-cosine function.
This method returns the arc-cosine value of the input-ed number.
/* Main program */ say acos(0.23)
When we run the above program we will get the following result.