contents.gifprev1.gifnext1.gif

WRAP() - Wrap-around loans

Calculates the wrap-around loan amount

Returns

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

Arguments

Type
Field
Description
double
dWpmt
Wrap-around loan's monthly payment
double
dYld
Annual yield percentage to the lender
long
lPerW
Number monthly payments in wrap-around loan
double
dWbal
Wrap-around loan's balloon payment
double
dUnd
Remaining balance of underlying loan
double
dUpmt
Monthly payment of underlying loan
long
lPerU
Number monthly payments in underlying loan
double
dUbal
Balloon payment of underlying loan
16 bit DLL declarations

PowerBuilder Function declaration

function double WRAP(double dWpmt, double dYld, long lPerW, double dWbal, double dUnd, double dUpmt, long lPerU, double dUbal) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function WRAP lib "IFL16" (ByVal dWpmt As Double, ByVal dYld As Double, ByVal lPerW As Long, ByVal dWbal As Double, dUnd As Double, dUpmt As Double, lPerU As Long, dUbal As Double) As Double

C/C++ Synopsis

#include "function.h"

double WRAP(double dWpmt, double dYld, long lPerW, double dWbal, double dUnd, double dUpmt, long lPerU, double dUbal)

32 bit DLL declarations

PowerBuilder Function declaration

function double WRAP(double dWpmt, double dYld, long lPerW, double dWbal, double dUnd, double dUpmt, long lPerU, double dUbal) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function WRAP lib "IFL32" (ByVal dWpmt As Double, ByVal dYld As Double, ByVal lPerW As Long, ByVal dWbal As Double, dUnd As Double, dUpmt As Double, lPerU As Long, dUbal As Double) As Double

C/C++ Synopsis

#include "function.h"

double WRAP(double dWpmt, double dYld, long lPerW, double dWbal, double dUnd, double dUpmt, long lPerU, double dUbal)

Example:

dWpmt
=
1,681.71

dYld
=
0.1184
(11.84%)
lPerW
=
240

dWbal
=
129,963.35

dUnd
=
125,010

dUpmt
=
1,051.61

lPerU
=
200

dUbal
=
0

Result: $ 200,000.00