contents.gifprev1.gifnext1.gif

TAN() - Tangent

Returns the tangent of a number.

Returns

Double value if successful. If an error occurs, this function returns a zero.

Arguments

Type
Field
Description
double
dNumber
Value
16 bit DLL declarations

PowerBuilder Function declaration

function double TAN(double dNumber) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function TAN lib "IFL16" (ByVal dNumber As Double) As Double

32 bit DLL declarations

PowerBuilder Function declaration

function double TAN(double dNumber) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function TAN lib "IFL32" (ByVal dNumber As Double) As Double

Example:

dNumber
=
-0.785

Result: 0.9920399