This documentation is archived and is not being maintained.
sin 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 sine of a real number.
|
Parameter
|
Description
|
|
_arg
|
The number for which to calculate the sine.
|
The sine of the specified real number.
The value of the _arg parameter must be in radians.
static void sinExample(Args _arg)
{
real angleDegrees = 15.0;
real angleRadians;
real pi = 3.14;
real r;
;
angleRadians = pi * angleDegrees / 180;
r = sin(angleRadians);
print "sin of a "
+ num2Str(angleDegrees, 2, 2, 1, 1)
+ " degree angle is "
+ num2Str(r, 2, 10, 1, 1);
pause;
}
Announcements: To see known issues and recent fixes, use
Issue search in
Microsoft Dynamics Lifecycle Services (LCS).