

CPS() - Cost of preferred stock
| Type
| Field
| Description
|
| double
| dDividend
| Annual dividend
|
| double
| dPrice
| Price of preferred stock
|
| double
| dCostSell
| Cost of selling stock
|
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
|
|