Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Info
titleAvailability

This routine is available starting with katl-commons SIL Engine™ 2.5.

Syntax

cos(number)

Description

...

 If the angle is in degrees, either multiply the angle by PI()/180 or use the radians function to convert the angle to radians.


Parameters

ParameterTypeRequiredDescription
numberNumberYes
The angle
Angle in radians you want the cosine for.

Return type

number

Example

Code Block
number a = cos(1.047);
print("a= " + a);

number b = cos(60*pi()/180);
print("b= " + b);

number c = cos(radians(30));
print("c= " + c);

...