contents.gifprev1.gifnext1.gif

CCSA() - Cost of common stock (asset)

Calculates cost of common stock (asset pricing). This calculation is based on the beta value for the companies common stock. The beta value is a measure of the volatility of the return on a particular stock relative to the market. Beta values can be found in stock market price publications.

Returns

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

Arguments

Type
Field
Description
double
dRiskFree
Risk free rate of return percentage
double
dBeta
Beta coefficient
double
dExpected
Expected rate of return percentage
16 bit DLL declarations

PowerBuilder Function declaration

function double CCSA(double dRiskFree, double dBeta, double dExpected) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function CCSA lib "IFL16" (ByVal dRiskFree As Double, ByVal dBeta As Double, ByVal dExpected As Double) As Double

C/C++ Synopsis

#include "function.h"

double CCSA(double dRiskFree, double dBeta, double dExpected)

32 bit DLL declarations

PowerBuilder Function declaration

function double CCSA(double dRiskFree, double dBeta, double dExpected) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function CCSA lib "IFL32" (ByVal dRiskFree As Double, ByVal dBeta As Double, ByVal dExpected As Double) As Double

C/C++ Synopsis

#include "function.h"

double CCSA(double dRiskFree, double dBeta, double dExpected)

Example:

dRiskFree
=
0.08
(8%)
dBeta
=
1.3

dExpected
=
.09
(9%)
Result: 0.093 (9.3%)