contents.gifprev1.gifnext1.gif

CPS() - Cost of preferred stock

Calculates the cost of preferred stock. The annual dividend payment is divided by the net proceeds that the firm will receive from the sale of the preferred stock.

Returns

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

Arguments

Type
Field
Description
double
dDividend
Annual dividend
double
dPrice
Price of preferred stock
double
dCostSell
Cost of selling stock
16 bit DLL declarations

PowerBuilder Function declaration

function double CPS(double dDividend, double dPrice, double dCostSell) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function CPS lib "IFL16" (ByVal dDividend As Double, ByVal dPrice As Double, ByVal dCostsell As Double) As Double

C/C++ Synopsis

#include "function.h"

double CPS(double dDividend, double dPrice, double dCostSell)

32 bit DLL declarations

PowerBuilder Function declaration

function double CPS(double dDividend, double dPrice, double dCostSell) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function CPS lib "IFL32" (ByVal dDividend As Double, ByVal dPrice As Double, ByVal dCostsell As Double) As Double

C/C++ Synopsis

#include "function.h"

double CPS(double dDividend, double dPrice, double dCostSell)

Example:

dDividend
=
10.00

dPrice
=
110.00

dCostSell
=
5.00

Result: 0.0952 (9.52%)