

ARATEN() - Periodic interest rate
| Type
| Field
| Description
|
| double
| dPrincipal
| Initial capital
|
| double
| dPmt
| Periodic payment
|
| integer
| iTerm
| Total number of periods
|
| integer
| iBasis
| Value:
0 = end 1 = begin |
| integer
| iDigits
| Number of digits accuracy
|
PowerBuilder Function declaration
function double ARATEN(double dPrincipal, double dPmt, integer iTerm, int iBasis, int iDigits) library "IFL16.DLL"
Visual Basic Function declaration
Declare Function ARATEN lib "IFL16" (ByVal dPrincipal As Double, ByVal dPmt As Double, ByVal iTerm As Integer, ByVal iBasis As Integer, ByVal iDigits As Integer) As Double
C/C++ Synopsis
#include "function.h"
double ARATEN(double dPrincipal, double dPmt, integer iTerm, int iBasis, int iDigits)
32 bit DLL declarations
PowerBuilder Function declaration
function double ARATEN(double dPrincipal, double dPmt, integer iTerm, int iBasis, int iDigits) library "IFL32.DLL"
Visual Basic Function declaration
Declare Function ARATEN lib "IFL32" (ByVal dPrincipal As Double, ByVal dPmt As Double, ByVal iTerm As Integer, ByVal iBasis As Integer, ByVal iDigits As Integer) As Double
C/C++ Synopsis
#include "function.h"
double ARATEN(double dPrincipal, double dPmt, integer iTerm, short sBasis, short sDitgits)
Example:
| dPrincipal
| =
| 8,000
|
|
| dPmt
| =
| 273.44
|
|
| iTerm
| =
| 36
|
|
| iBasis
| =
| 0
|
|
| iDigits
| =
| 6
|
|