This documentation is archived and is not being maintained.
tan Function [AX 2012]
Updated: December 10, 2009
Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Retrieves the tangent of a real number.
Parameter
Description
arg
The real number for which to calculate the tangent.
The tangent of the specified real number.
Values for the arg parameter that are outside the range of –250 to 250 result in the, "Argument for trigonometric function out of range" run-time error.
The following example illustrates the tan function.
static void tanExample(Args _arg)
{
real r;
;
r = tan(250);
print strFmt("Tan of 250 is %1", r);
pause;
}
Announcements: To see known issues and recent fixes, use
Issue search in
Microsoft Dynamics Lifecycle Services (LCS).