Wednesday 9 January 2013

Microsoft Dynamics AX 2012 R2 - atan Function


Retrieves the arc tangent of a real number.


Function

  • real atan(real arg)

Parameters

  • Parameter: arg
  • Description: The number for which to calculate the arc tangent.

Return Value

  • The arc tangent of the specified number.

Example

  • aTan(0.36) //Returns 0.35.
  • X++
static void atanExample(Args _args)
{
    real r;
    ;

    r = atan(1.0);
    print strFmt("The Arc Tangent of 1.0 is %1", r);
    pause;
}

My above blog is based on Microsoft's Official information.

I hope this blog about 'Microsoft Dynamics AX 2012 R2 - atan Function' was informative. Please feel free to leave your comments.

No comments:

Post a Comment