Files
Maxim Kadushkin 035166509d Merge pull request #2755 from ONLYOFFICE/feature/update-lunr-without-kor
Feature/update lunr without kor
2023-12-21 16:25:39 +03:00

66 lines
3.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>VDB Function</title>
<meta charset="utf-8" />
<meta name="description" content="" />
<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../../../../../../common/main/resources/help/search/js/page-search.js"></script>
</head>
<body>
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
<h1>VDB Function</h1>
<p>The <b>VDB</b> function is one of the <a href="../UsageInstructions/InsertFunction.htm#financial" onclick="onhyperlinkclick(this)">financial functions</a>. It is used to calculate the depreciation of an asset for a specified or partial accounting period using the variable declining balance method.</p>
<h3>Syntax</h3>
<p><b><em>VDB(cost, salvage, life, start_period, end_period, [factor], [no_switch])</em></b></p>
<p>The <b>VDB</b> function has the following arguments:</p>
<table style="width: 40%">
<tr>
<th style="background-color: #f4f4f4" width="150ch"><b>Argument</b></th>
<th style="background-color: #f4f4f4"><b>Description</b></th>
</tr>
<tr>
<td><b><em>cost</em></b></td>
<td>The cost of the asset.</td>
</tr>
<tr>
<td><b><em>salvage</em></b></td>
<td>The salvage value of the asset at the end of its lifetime.</td>
</tr>
<tr>
<td><b><em>life</em></b></td>
<td>The total number of the periods within the asset lifetime.</td>
</tr>
<tr>
<td><b><em>start_period</em></b></td>
<td>A starting period you wish to calculate depreciation for. The value must be expressed in the same units as <b><em>life</em></b>.</td>
</tr>
<tr>
<td><b><em>end_period</em></b></td>
<td>An ending period you wish to calculate depreciation for. The value must be expressed in the same units as <b><em>life</em></b>.</td>
</tr>
<tr>
<td><b><em>factor</em></b></td>
<td>The rate at which the balance declines. It is an optional argument. If it is omitted, the function will assume <b><em>factor</em></b> to be 2.</td>
</tr>
<tr>
<td><b><em>no_switch</em></b></td>
<td>The optional argument that specifies whether to use straight-line depreciation when depreciation is greater than the declining balance calculation. If it is set to FALSE or omitted, the function uses the straight-line depreciation method. If it is set to TRUE, the function uses the declining balance method.</td>
</tr>
</table>
<h3>Notes</h3>
<p>All the numeric values must be positive numbers.</p>
<p><a href="../UsageInstructions/InsertFunction.htm#applyfunction" onclick="onhyperlinkclick(this)">How to apply</a> the <b>VDB</b> function.</p>
<h3>Examples</h3>
<p>The figure below displays the result returned by the <b>VDB</b> function.</p>
<p><img alt="VDB Function" src="../images/vdb.png" /></p>
</div>
</body>
</html>