

ARCSC() - Cumulative accelerated cost recovery
| 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
|
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
|
|