contents.gifprev1.gifnext1.gif

COSD() - Cosine in degrees

Returns the cosine of degrees converted to 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 COSD(double dNumber) library "IFL16.DLL"

Visual Basic Function declaration

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

32 bit DLL declarations

PowerBuilder Function declaration

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

Visual Basic Function declaration

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

Example:

dNumber
=
60
(degrees)
Result: 0.5