Retrieves the cosine of a real number.
Function
- real cos(real arg)
Parameters
- Parameter: arg
- Description: The number of which to find the cosine.
The value of the arg parameter must be in radians.
Return Value
- The cosine of the specified number.
Example
- X++
static void cosExample(Args _arg)
{
real r;
;
r = cos(15);
print strFmt("Cos of 15 is %1", r);
pause;
}
My above blog is based on Microsoft's Official information.
I hope this blog about 'Microsoft Dynamics AX 2012 R2 - cos Function' was informative. Please feel free to leave your comments.
No comments:
Post a Comment