web-apps/apps/spreadsheeteditor/main/resources/help/it/Functions/db.htm
2020-04-29 22:48:41 +03:00

44 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>DB Function</title>
<meta charset="utf-8" />
<meta name="description" content="" />
<link type="text/css" rel="stylesheet" href="../editor.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../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>DB Function</h1>
<p>The <b>DB</b> function is one of the financial functions. It is used to calculate the depreciation of an asset for a specified accounting period using the fixed-declining balance method.</p>
<p>The <b>DB</b> function syntax is:</p>
<p style="text-indent: 150px;"><b><em>DB(cost, salvage, life, period[, [month]])</em></b></p>
<p><em>where</em></p>
<p style="text-indent: 50px;"><b><em>cost</em></b> is the cost of the asset.</p>
<p style="text-indent: 50px;"><b><em>salvage</em></b> is the salvage value of the asset at the end of its lifetime.</p>
<p style="text-indent: 50px;"><b><em>life</em></b> is the total number of the periods within the asset lifetime.</p>
<p style="text-indent: 50px;"><b><em>period</em></b> is the period you wish to calculate depreciation for. The value must be expressed in the same units as <em>life</em>.</p>
<p style="text-indent: 50px;"><b><em>month</em></b> is the number of months in the first year. It is an optional argument. If it is omitted, the function will assume <b><em>month</em></b> to be 12.</p>
<p>The values can be entered manually or included into the cell you make reference to.</p>
<p>To apply the <b>DB</b> function,</p>
<ol>
<li>select the cell where you wish to display the result,</li>
<li>
click the <b>Insert function</b> <img alt="Insert function icon" src="../images/insertfunction.png" /> icon situated at the top toolbar,
<br />or right-click within a selected cell and select the <b>Insert Function</b> option from the menu,
<br />or click the <img alt="Function icon" src="../images/function.png" /> icon situated at the formula bar,
</li>
<li>select the <b>Financial</b> function group from the list,</li>
<li>click the <b>DB</b> function,</li>
<li>enter the required arguments separating them by commas,</li>
<li>press the <b>Enter</b> button.</li>
</ol>
<p>The result will be displayed in the selected cell.</p>
<p style="text-indent: 150px;"><img alt="DB Function" src="../images/db.png" /></p>
</div>
</body>
</html>