

SIMPLERATE() - Simple interest rate
| Type
| Field
| Description
|
| double
| dInt
| Interest rate
|
| integer
| iPeriods
| Number of periods
|
PowerBuilder Function declaration
function double SIMPLERATE(double dInt, integer iPeriods) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function SIMPLERATE lib "IFL16" (ByVal dInt As Double, ByVal iPeriods As Integer) As Double
C/C++ Synopsis
#include "function.h"
double SIMPLERATE(double dInt, int iPeriods)
32-bit DLL declarations
PowerBuilder Function declaration
function double SIMPLERATE(double dInt, integer iPeriods) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function SIMPLERATE lib "IFL32" (ByVal dInt As Double, ByVal iPeriods As integer) As Double
C/C++ Synopsis
#include "function.h"
double SIMPLERATE(double dInt, short sPeriods)
Example:
| dInt
| =
| .07
| 7%
|
| iPeriods
| =
| 12
|
|