contents.gifprev1.gifnext1.gif

CCS() - Cost of common stock

Calculates the cost of common stock.

Returns

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

Arguments

Type
Field
Description
double
dDividend
Estimated dividend at end of year
double
dPrice
Current price of stock
double
dGrowth
Estimated growth percentage
16 bit DLL declarations

PowerBuilder Function declaration

function double CCS(double dDividend, double dPrice, double dGrowth) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function CCS lib "IFL16" (ByVal dDividend As Double, ByVal dPrice As Double, ByVal dGrowth As Double) As Double

C/C++ Synopsis

#include "function.h"

double CCS(double dDividend, double dPrice, double dGrowth)

32 bit DLL declarations

PowerBuilder Function declaration

function double CCS(double dDividend, double dPrice, double dGrowth) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function CCS lib "IFL32" (ByVal dDividend As Double, ByVal dPrice As Double, ByVal dGrowth As Double) As Double

C/C++ Synopsis

#include "function.h"

double CCS(double dDividend, double dPrice, double dGrowth)

Example:

dDividend
=
2.00

dPrice
=
40.00

dGrowth
=
0.09
(9%)
Result: 0.14 (14%)