Functions and CALL Routines |
Category: | Financial |
Syntax | |
Arguments | |
Details | |
Examples |
Syntax |
DACCDBSL(p,v,y,r) |
is numeric, the period for which the calculation is to be done.
is an integer, the lifetime of the asset.
Range: | y > 0 |
is numeric, the rate of depreciation that is expressed as a fraction.
Range: | r > 0 |
Details |
The DACCDBSL function returns the accumulated depreciation by using a declining balance method, with conversion to a straight-line depreciation function that is defined by
The declining balance with conversion to a straight-line depreciation chooses for each time period the method of depreciation (declining balance or straight-line on the remaining balance) that gives the larger depreciation. The p and y arguments must be expressed by using the same units of time.
Examples |
An asset has a depreciable initial value of $1,000 and a ten-year lifetime. Using a declining balance rate of 150 percent, the accumulated depreciation of that asset in its fifth year can be expressed as
y5=daccdbsl(5,1000,10,1.5);
The value returned is 564.99. The first and the third arguments are expressed in years.
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.