contents.gifprev1.gifnext1.gif

SIMPLE2DISC() - Simple to Discounted interest

Convert simple interest rate to discounted interest rate.

Returns

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

Arguments

Type
Field
Description
double
dInt
Simple interest rate
16-bit DLL declarations

PowerBuilder Function declaration

function double SIMPLE2DISC(double dInt) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function SIMPLE2DISC lib "IFL16" (ByVal dInt As Double) As Double

C/C++ Synopsis

#include "function.h"

double SIMPLE2DISC(double dInt )

32-bit DLL declarations

PowerBuilder Function declaration

function double SIMPLE2DISC(double dInt) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function SIMPLE2DISC lib "IFL32" (ByVal dInt As Double) As Double

C/C++ Synopsis

#include "function.h"

double SIMPLE2DISC(double dInt )

Example:

dInt
=
.07
7%
Result: 0.0654206 (6.54206%)