This site Web
Home Page | The Sun API | Gallery | InfoSearch | News | Links | Contact Us

Sunlit Design > The Sun API > Documentation > sdTan Function


Index


- Introduction
+ Using the Functions
+ User Guide
+ Function Reference
+ Constants

Contact Developer

Downloads

sdTan Function

Description

Returns the trigonometric tangent of the given Angle

Syntax

sdTan(Angle)

Angle    is the angle in degrees for which you want the tangent. 

Return Values

sdTan returns a double precision number.

Remarks

This degree based function is provided because most programming environments provide only radian based functions.

Example

 To find the tangent of 45 degrees
    sdTan(45)equals 1.0