

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