

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