contents.gifprev1.gifnext1.gif

ARCSC() - Cumulative accelerated cost recovery

Cumulative accelerated cost recovery system. Tables are usually used to find the ARCS recovery percentage. These tables are available from the IRS. The percentage varies with the life of the investment.

Returns

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

Arguments

Type
Field
Description
double
dCost
Price of asset
double
dPerc[ ]
Table of depreciation percentages
integer
iCount
Number of percentages
integer
iPeriod
Period for which depreciation needs to be calculated
16 bit DLL declarations

PowerBuilder Function declaration

function double ARCSC(double dCost, double dPerc[], int iCount, int iPeriod) library "IFL16.DLL"

Visual Basic Function declaration

Declare Function ARCSC lib "IFL16" (ByVal dCost As Double, ByVal dPerc[] As Double, ByVal iCount As Integer, ByVal iPeriod As Integer) As Double

Access Function declaration

Declare Function ARCSC lib "IFL16" (ByVal dCost As Double, dPerc As Any, ByVal iCount As Integer, ByVal iPeriod As Integer) As Double

C/C++ Synopsis

#include "function.h"

double ARCSC(double dCost, double *dPerc, int iCount, int iPeriod)

32 bit DLL declarations

PowerBuilder Function declaration

function double ARCSC(double dCost, double dPerc[], int iCount, int iPeriod) library "IFL32.DLL"

Visual Basic Function declaration

Declare Function ARCSC lib "IFL32" (ByVal dCost As Double, ByVal dPerc[] As Double, ByVal iCount As Integer, ByVal iPeriod As Integer) As Double

Access Function declaration

Declare Function ARCSC lib "IFL32" (ByVal dCost As Double, dPerc As Any, ByVal iCount As Integer, ByVal iPeriod As Integer) As Double

C/C++ Synopsis

#include "function.h"

double ARCSC(double dCost, double *dPerc, short sCount, short sPeriod)

Example:

dCost
=
13,950

dPerc[1]
=
0.20
(20%)
dPerc[2]
=
0.32
(32%)
dPerc[3]
=
0.24
(24%)
dPerc[4]
=
0.16
(16%)
dPerc[5]
=
0.08
(8%)
iPeriod
=
3

iCount
=
5

Result: $ 10,602