tand
 
 
 

Returns the tangent of an angle specified in degrees.

float tand(float number)

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

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

Example

tand(45)

Returns roughly 1, the tangent of 45 degrees.