contents.gifprev1.gifnext1.gif

SIN() - Sine

Returns the sine 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 SIN(double dNumber) library "IFL16.DLL"

Visual Basic Function declaration

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

32 bit DLL declarations

PowerBuilder Function declaration

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

Visual Basic Function declaration

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

Example:

dNumber
=
1.57079

Result: 1