contents.gifprev1.gifnext1.gif

SIA() - Simple interest accumulated

Calculates simple accumulated interest amount.

Returns

Double value if successful. If an error occurs, this function returns a zero.

Arguments

Type
Field
Description
double
dPrincipal
Principal
double
dInt
Periodic interest percentage
integer
iPeriods
Number of periods
16-bit DLL declarations

PowerBuilder Function declaration

function double SIA(double dPrincipal, double dInt, integer iPeriods) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function SIA lib "IFL16" (ByVal dPrincipal As Double, ByVal dInt As Double, ByVal iPeriods As Integer) As Double

C/C++ Synopsis

#include "function.h"

double SIA(double dPrincipal, double dInt, int iPeriods)

32-bit DLL declarations

PowerBuilder Function declaration

function double SIA(double dPrincipal, double dInt, integer iPeriods) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function SIA lib "IFL32" (ByVal dPrincipal As double, ByVal dInt As Double, ByVal iPeriods As Integer) As Double

C/C++ Synopsis

#include "function.h"

double SIA(double dPrincipal, double dInt, short sPeriods)

Example:

dPrincipal
=
100

dInt
=
.07
7%
iPeriods
=
12

Result: 184