Bewerken

Delen via


WorksheetFunction.Db(Double, Double, Double, Double, Object) Method

Definition

Returns the depreciation of an asset for a specified period using the fixed-declining balance method.

public double Db (double Arg1, double Arg2, double Arg3, double Arg4, object Arg5);
Public Function Db (Arg1 As Double, Arg2 As Double, Arg3 As Double, Arg4 As Double, Optional Arg5 As Object) As Double

Parameters

Arg1
Double

Cost - the initial cost of the asset.

Arg2
Double

Salvage - the value at the end of the depreciation (sometimes called the salvage value of the asset).

Arg3
Double

Life - the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset).

Arg4
Double

Period - the period for which you want to calculate the depreciation. Period must use the same units as life.

Arg5
Object

Month - the number of months in the first year. If month is omitted, it is assumed to be 12.

Returns

Remarks

The fixed-declining balance method computes depreciation at a fixed rate. DB uses the following formulas to calculate depreciation for a period:

(cost - total depreciation from prior periods) * rate

where:

rate = 1 - ((salvage / cost) ^ (1 / life)), rounded to three decimal places

Depreciation for the first and last periods is a special case. For the first period, DB uses this formula:

cost * rate * month / 12

For the last period, DB uses this formula:

((cost - total depreciation from prior periods) * rate * (12 - month)) / 12

Applies to