The system function MathLib.cos returns the cosine of a number. The returned value is in the range of -1 to 1.
MathLib.cos(numericField mathLibNumber in) returns (result mathLibTypeDependentResult)
result = MathLib.cos(myItem);
Related concepts
Syntax diagram for EGL functions
Related reference
EGL library MathLib