Base Scripting Language GuidePascal-Library Custom Scripting FunctionsCosOn this pageCosCalculates the cosine of an angle. Structure Cos(number): Extended; Parameters Return value Description Cos returns the cosine of the angle X, in radians.