cosd
 
 
 

Returns the cosine of an angle specified in degrees.

float cosd(float number)

number is the angle, in degrees, whose cosine you want.

For more details on the cosd function, see the cos function in the preceding topic. The cosd and cos functions do the same operation, but cosd requires its argument in degree measurement units.

Example

cosd(45)

Returns 0.707, the cosine of 45 degrees.