Cos
cos
returns the value of the cosine of an angle expressed in degrees, radians, or grades, depending on adxmda. The type of result is Double.
cos(value)
# This function converts polar coordinates to cartesian coordinatesFunc CONVERT_TO_CARTESIAN(ANGLE_VALUE,DISTANCE_VALUE, X,Y)Value Double ANGLE_VALUE,DISTANCEVariable Double X,YX=DISTANCE_VALUE*cos(ANGLE_VALUE)Y=DISTANCE_VALUE*sin(ANGLE_VALUE)End
sin, tan, asin, acos, atan, atan2.