acos Function [AX 2012]

Updated: September 29, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Retrieves the arc cosine of a real number.

NoteNote

Argument values outside the –1 to 1 range generate the following run-time error, "Argument for trigonometric function out of range."


real acos(real arg)

Parameter

Description

arg

The number to retrieve the arc cosine of.

The arc cosine of arg.

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;
}

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: