Note:
- Argument values outside the –1 to 1 range generate the following run-time error, "Argument for trigonometric function out of range."
Function
- real acos(real arg)
Parameters
- Parameter: arg
- Description: The number to retrieve the arc cosine of.
Return Value
- The arc cosine of arg.
Example
- X++
static void acosExample(Args _args)
{
real r;
str s;
;
r = acos(0.0);
s = strFmt("The arc cosine of 0.0 is %1 ", r);
print s;
pause;
}
My above blog is based on Microsoft's Official information.
I hope this blog about 'Microsoft Dynamics AX 2012 R2 - acos Function' was informative. Please feel free to leave your comments.
No comments:
Post a Comment