

PEN() - Price to earnings net income
| Type
| Field
| Description
|
| double
| dPrice
| Price per share
|
| long
| lShares
| Outstanding shares
|
| double
| dRatio
| Price to earnings ratio
|
PowerBuilder Function declaration
function double PEN(double dPrice, long lShares, double dRatio) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function PEN lib "IFL16" (ByVal dPrice As Double, ByVal lShares As Long, ByVal dRatio As Double) As Double
C/C++ Synopsis
#include "function.h"
double PEN(double dPrice, long lShares, double dRatio)
32 bit DLL declarations
PowerBuilder Function declaration
function double PEN(double dPrice, long lShares, double dRatio) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function PEN lib "IFL32" (ByVal dPrice As Double, ByVal lShares As Long, ByVal dRatio As Double) As Double
C/C++ Synopsis
#include "function.h"
double PEN(double dPrice, long lShares, double dRatio)
Example:
| dPrice
| =
| 10.50
|
|
| lShares
| =
| 10,000
|
|
| dRatio
| =
| 0.42
|
|