summaryrefslogtreecommitdiffstats
path: root/source/text/scalc/01/04060103.xhp
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-29 15:26:04 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-10-02 08:54:16 +0200
commitb358fb9b95915743d8666b238acb8e117c8751ce (patch)
tree7913b29b55f56ffa83d7a7e57f96340db7536410 /source/text/scalc/01/04060103.xhp
parenttdf#103527 Remove Colors from Options help (diff)
downloadhelp-b358fb9b95915743d8666b238acb8e117c8751ce.tar.gz
help-b358fb9b95915743d8666b238acb8e117c8751ce.zip
Reduce L10N workload for repetitive strings
Change 'Syntax' and 'Examples' heading into an embedded string translated only once. Change-Id: Iac2eef8fedbaa4461aa2f941af7f065a3b16fb2d Reviewed-on: https://gerrit.libreoffice.org/61143 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/scalc/01/04060103.xhp')
-rw-r--r--source/text/scalc/01/04060103.xhp56
1 files changed, 28 insertions, 28 deletions
diff --git a/source/text/scalc/01/04060103.xhp b/source/text/scalc/01/04060103.xhp
index d9dc2d47a5..4592d9d5f0 100644
--- a/source/text/scalc/01/04060103.xhp
+++ b/source/text/scalc/01/04060103.xhp
@@ -43,7 +43,7 @@
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_AMORDEGRC" id="bm_id3152578" localize="false"/>
<paragraph xml-lang="en-US" id="hd_id3153366" role="heading" level="2">AMORDEGRC</paragraph>
<paragraph xml-lang="en-US" id="par_id3147434" role="paragraph"><ahelp hid="HID_AAI_FUNC_AMORDEGRC">Calculates the amount of depreciation for a settlement period as degressive amortization.</ahelp> Unlike AMORLINC, a depreciation coefficient that is independent of the depreciable life is used here.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3155855" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3147427" role="code">AMORDEGRC(Cost; DatePurchased; FirstPeriod; Salvage; Period; Rate; Basis)</paragraph>
<paragraph xml-lang="en-US" id="par_id3147125" role="paragraph">
<emph>Cost</emph> is the acquisition costs.</paragraph>
@@ -66,7 +66,7 @@
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_AMORLINC" id="bm_id3153711" localize="false"/>
<paragraph xml-lang="en-US" id="hd_id3153765" role="heading" level="2">AMORLINC</paragraph>
<paragraph xml-lang="en-US" id="par_id3159264" role="paragraph"><ahelp hid="HID_AAI_FUNC_AMORLINC">Calculates the amount of depreciation for a settlement period as linear amortization. If the capital asset is purchased during the settlement period, the proportional amount of depreciation is considered.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3150044" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3147363" role="code">AMORLINC(Cost; DatePurchased; FirstPeriod; Salvage; Period; Rate; Basis)</paragraph>
<paragraph xml-lang="en-US" id="par_id3146920" role="paragraph">
<emph>Cost</emph> means the acquisition costs.</paragraph>
@@ -90,7 +90,7 @@
<bookmark xml-lang="en-US" branch="index" id="bm_id3151276"><bookmark_value>accrued interests;periodic payments</bookmark_value>
</bookmark><comment>mw changed "accrued interests"</comment>
<paragraph xml-lang="en-US" id="par_id3151276" role="paragraph"><ahelp hid="HID_AAI_FUNC_ACCRINT">Calculates the accrued interest of a security in the case of periodic payments.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3152581" role="heading" level="3">Syntax</paragraph>
+<embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3159092" role="code">ACCRINT(Issue; FirstInterest; Settlement; Rate; Par; Frequency; Basis)</paragraph>
<paragraph xml-lang="en-US" id="par_id3150519" role="paragraph">
<emph>Issue</emph> (required) is the issue date of the security.</paragraph>
@@ -105,7 +105,7 @@
<paragraph xml-lang="en-US" id="par_id3149406" role="paragraph">
<emph>Frequency</emph> (required) is the number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
- <paragraph xml-lang="en-US" id="hd_id3148699" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3148599" role="paragraph">A security is issued on 2001-02-28. First interest is set for 2001-08-31. The settlement date is 2001-05-01. The Rate is 0.1 or 10% and Par is 1000 currency units. Interest is paid half-yearly (frequency is 2). The basis is the US method (0). How much interest has accrued?</paragraph>
<paragraph xml-lang="en-US" id="par_id3148840" role="paragraph">
<item type="input">=ACCRINT("2001-02-28";"2001-08-31";"2001-05-01";0.1;1000;2;0)</item> returns 16.94444.</paragraph>
@@ -117,7 +117,7 @@
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_ACCRINTM" id="bm_id3148866" localize="false"/>
<paragraph xml-lang="en-US" id="hd_id3151240" role="heading" level="2">ACCRINTM</paragraph>
<paragraph xml-lang="en-US" id="par_id3157981" role="paragraph"><ahelp hid="HID_AAI_FUNC_ACCRINTM">Calculates the accrued interest of a security in the case of one-off payment at the settlement date.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3159097" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3147074" role="code">ACCRINTM(Issue; Settlement; Rate; Par; Basis)</paragraph>
<paragraph xml-lang="en-US" id="par_id3144773" role="paragraph">
<emph>Issue</emph> (required) is the issue date of the security.</paragraph>
@@ -128,7 +128,7 @@
<paragraph xml-lang="en-US" id="par_id3159204" role="paragraph">
<emph>Par</emph> (optional) is the par value of the security.</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
- <paragraph xml-lang="en-US" id="hd_id3155384" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3154541" role="paragraph">A security is issued on 2001-04-01. The maturity date is set for 2001-06-15. The Rate is 0.1 or 10% and Par is 1000 currency units. The basis of the daily/annual calculation is the daily balance (3). How much interest has accrued?</paragraph>
<paragraph xml-lang="en-US" id="par_id3149128" role="paragraph">
<item type="input">=ACCRINTM("2001-04-01";"2001-06-15";0.1;1000;3)</item> returns 20.54795.</paragraph>
@@ -140,7 +140,7 @@
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_RECEIVED" id="bm_id3143218" localize="false"/>
<paragraph xml-lang="en-US" id="hd_id3145753" role="heading" level="2">RECEIVED</paragraph>
<paragraph xml-lang="en-US" id="par_id3150051" role="paragraph"><ahelp hid="HID_AAI_FUNC_RECEIVED">Calculates the amount received that is paid for a fixed-interest security at a given point in time.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3149385" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3145362" role="code">RECEIVED("Settlement"; "Maturity"; Investment; Discount; Basis)</paragraph>
<paragraph xml-lang="en-US" id="par_id3154654" role="paragraph">
<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
@@ -151,7 +151,7 @@
<paragraph xml-lang="en-US" id="par_id3155760" role="paragraph">
<emph>Discount</emph> is the percentage discount on acquisition of the security.</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
- <paragraph xml-lang="en-US" id="hd_id3154710" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3154735" role="paragraph">Settlement date: February 15 1999, maturity date: May 15 1999, investment sum: 1000 currency units, discount: 5.75 per cent, basis: Daily balance/360 = 2.</paragraph>
<paragraph xml-lang="en-US" id="par_id3146108" role="paragraph">The amount received on the maturity date is calculated as follows:</paragraph>
<paragraph xml-lang="en-US" id="par_id3147246" role="paragraph">
@@ -167,7 +167,7 @@
<paragraph xml-lang="en-US" id="par_id3153301" role="paragraph"><ahelp hid="HID_FUNC_BW">Returns the present value of an investment resulting from a series of regular payments.</ahelp></paragraph>
<paragraph xml-lang="en-US" id="par_id3146099" role="paragraph">Use this function to calculate the amount of money needed to be invested at a fixed rate today, to receive a specific amount, an annuity, over a specified number of periods. You can also determine how much money is to remain after the elapse of the period. Specify as well if the amount is to be paid out at the beginning or at the end of each period.</paragraph>
<paragraph xml-lang="en-US" id="par_id3153334" role="paragraph">Enter these values either as numbers, expressions or references. If, for example, interest is paid annually at 8%, but you want to use month as your period, enter 8%/12 under <emph>Rate</emph> and <item type="productname">%PRODUCTNAME</item> Calc with automatically calculate the correct factor.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3147407" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3150395" role="code">PV(Rate; NPer; Pmt; FV; Type)</paragraph>
<paragraph xml-lang="en-US" id="par_id3151341" role="paragraph">
<emph>Rate</emph> defines the interest rate per period.</paragraph>
@@ -182,7 +182,7 @@
<paragraph xml-lang="en-US" id="par_idN10B13" role="paragraph" localize="false">
<embedvar href="text/scalc/00/00000004.xhp#optional"/>
</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3150037" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3145225" role="paragraph">What is the present value of an investment, if 500 currency units are paid out monthly and the annual interest rate is 8%? The payment period is 48 months and 20,000 currency units are to remain at the end of the payment period.</paragraph>
<paragraph xml-lang="en-US" id="par_id3155907" role="paragraph">
<item type="input">=PV(8%/12;48;500;20000)</item> = -35,019.37 currency units. Under the named conditions, you must deposit 35,019.37 currency units today, if you want to receive 500 currency units per month for 48 months and have 20,000 currency units left over at the end. Cross-checking shows that 48 x 500 currency units + 20,000 currency units = 44,000 currency units. The difference between this amount and the 35,000 currency units deposited represents the interest paid.</paragraph>
@@ -198,7 +198,7 @@
<paragraph xml-lang="en-US" id="hd_id3152978" role="heading" level="2">SYD</paragraph>
<paragraph xml-lang="en-US" id="par_id3148732" role="paragraph"><ahelp hid="HID_FUNC_DIA">Returns the arithmetic-declining depreciation rate.</ahelp></paragraph>
<paragraph xml-lang="en-US" id="par_id3149886" role="paragraph">Use this function to calculate the depreciation amount for one period of the total depreciation span of an object. Arithmetic declining depreciation reduces the depreciation amount from period to period by a fixed sum.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3149431" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3150483" role="code">SYD(Cost; Salvage; Life; Period)</paragraph>
<paragraph xml-lang="en-US" id="par_id3146879" role="paragraph">
<emph>Cost</emph> is the initial cost of an asset.</paragraph>
@@ -208,7 +208,7 @@
<emph>Life</emph> is the period fixing the time span over which an asset is depreciated.</paragraph>
<paragraph xml-lang="en-US" id="par_id3147473" role="paragraph">
<emph>Period</emph> defines the period for which the depreciation is to be calculated.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3148434" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3149688" role="paragraph">A video system initially costing 50,000 currency units is to be depreciated annually for the next 5 years. The salvage value is to be 10,000 currency units. You want to calculate depreciation for the first year.</paragraph>
<paragraph xml-lang="en-US" id="par_id3150900" role="paragraph">
<item type="input">=SYD(50000;10000;5;1)</item>=13,333.33 currency units. The depreciation amount for the first year is 13,333.33 currency units.</paragraph>
@@ -540,7 +540,7 @@
<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_DISC" id="bm_id3149290" localize="false"/>
<paragraph xml-lang="en-US" id="hd_id3155104" role="heading" level="2">DISC</paragraph>
<paragraph xml-lang="en-US" id="par_id3153891" role="paragraph"><ahelp hid="HID_AAI_FUNC_DISC">Calculates the allowance (discount) of a security as a percentage.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3153982" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3149756" role="code">DISC("Settlement"; "Maturity"; Price; Redemption; Basis)</paragraph>
<paragraph xml-lang="en-US" id="par_id3156014" role="paragraph">
<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
@@ -551,7 +551,7 @@
<paragraph xml-lang="en-US" id="par_id3147253" role="paragraph">
<emph>Redemption</emph> is the redemption value of the security per 100 currency units of par value.</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
- <paragraph xml-lang="en-US" id="hd_id3151174" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3155902" role="paragraph">A security is purchased on 2001-01-25; the maturity date is 2001-11-15. The price (purchase price) is 97, the redemption value is 100. Using daily balance calculation (basis 3) how high is the settlement (discount)?</paragraph>
<paragraph xml-lang="en-US" id="par_id3152797" role="paragraph">
<item type="input">=DISC("2001-01-25";"2001-11-15";97;100;3)</item> returns about 0.0372 or 3.72 per cent.</paragraph>
@@ -565,7 +565,7 @@
<paragraph xml-lang="en-US" id="hd_id3154695" role="heading" level="2">DURATION_ADD</paragraph>
<paragraph xml-lang="en-US" id="par_id3145768" role="paragraph"><ahelp hid="HID_AAI_FUNC_DURATION">Calculates the duration of a fixed interest security in years.</ahelp></paragraph>
<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
- <paragraph xml-lang="en-US" id="hd_id3153904" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3153373" role="code">DURATION_ADD("Settlement"; "Maturity"; Coupon; Yield; Frequency; Basis)</paragraph>
<paragraph xml-lang="en-US" id="par_id3155397" role="paragraph">
<emph>Settlement</emph> is the date of purchase of the security.</paragraph>
@@ -578,7 +578,7 @@
<paragraph xml-lang="en-US" id="par_id3149906" role="paragraph">
<emph>Frequency</emph> is the number of interest payments per year (1, 2 or 4).</paragraph>
<embed href="text/scalc/01/func_yearfrac.xhp#basis"/>
- <paragraph xml-lang="en-US" id="hd_id3146995" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3148834" role="paragraph">A security is purchased on 2001-01-01; the maturity date is 2006-01-01. The Coupon rate of interest is 8%. The yield is 9.0%. Interest is paid half-yearly (frequency is 2). Using daily balance interest calculation (basis 3) how long is the duration?</paragraph>
<paragraph xml-lang="en-US" id="par_id3154902" role="paragraph">
<item type="input">=DURATION_ADD("2001-01-01";"2006-01-01";0.08;0.09;2;3)</item>
@@ -594,13 +594,13 @@
<paragraph xml-lang="en-US" id="hd_id3159147" role="heading" level="2">EFFECTIVE</paragraph>
<paragraph xml-lang="en-US" id="par_id3154204" role="paragraph"><ahelp hid="HID_FUNC_EFFEKTIV">Returns the net annual interest rate for a nominal interest rate.</ahelp></paragraph>
<paragraph xml-lang="en-US" id="par_id3145417" role="paragraph">Nominal interest refers to the amount of interest due at the end of a calculation period. Effective interest increases with the number of payments made. In other words, interest is often paid in installments (for example, monthly or quarterly) before the end of the calculation period.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3150510" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3148805" role="code">EFFECTIVE(Nom; P)</paragraph>
<paragraph xml-lang="en-US" id="par_id3149768" role="paragraph">
<emph>Nom</emph> is the nominal interest.</paragraph>
<paragraph xml-lang="en-US" id="par_id3149334" role="paragraph">
<emph>P</emph> is the number of interest payment periods per year.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3154223" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3144499" role="paragraph">If the annual nominal interest rate is 9.75% and four interest calculation periods are defined, what is the actual interest rate (effective rate)?</paragraph>
<paragraph xml-lang="en-US" id="par_id3150772" role="paragraph">
<item type="input">=EFFECTIVE(9.75%;4)</item> = 10.11% The annual effective rate is therefore 10.11%.</paragraph>
@@ -613,13 +613,13 @@
<paragraph xml-lang="en-US" id="hd_id3147241" role="heading" level="2">EFFECT_ADD</paragraph>
<paragraph xml-lang="en-US" id="par_id3147524" role="paragraph"><ahelp hid="HID_AAI_FUNC_EFFECT">Calculates the effective annual rate of interest on the basis of the nominal interest rate and the number of interest payments per annum.</ahelp></paragraph>
<embed href="text/scalc/01/04060102.xhp#ADD_note"/>
- <paragraph xml-lang="en-US" id="hd_id3155364" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3155118" role="code">EFFECT_ADD(NominalRate; NPerY)</paragraph>
<paragraph xml-lang="en-US" id="par_id3148907" role="paragraph">
<emph>NominalRate</emph> is the annual nominal rate of interest.</paragraph>
<paragraph xml-lang="en-US" id="par_id3154274" role="paragraph">
<emph>NPerY </emph>is the number of interest payments per year.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3149156" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3158426" role="paragraph">What is the effective annual rate of interest for a 5.25% nominal rate and quarterly payment.</paragraph>
<paragraph xml-lang="en-US" id="par_id3148927" role="paragraph">
<item type="input">=EFFECT_ADD(0.0525;4)</item> returns 0.053543 or 5.3543%.</paragraph>
@@ -634,7 +634,7 @@
<paragraph xml-lang="en-US" id="hd_id3149998" role="heading" level="2">DDB</paragraph>
<paragraph xml-lang="en-US" id="par_id3159190" role="paragraph"><ahelp hid="HID_FUNC_GDA">Returns the depreciation of an asset for a specified period using the arithmetic-declining method.</ahelp></paragraph>
<paragraph xml-lang="en-US" id="par_id3152361" role="paragraph">Use this form of depreciation if you require a higher initial depreciation value as opposed to linear depreciation. The depreciation value gets less with each period and is usually used for assets whose value loss is higher shortly after purchase (for example, vehicles, computers). Please note that the book value will never reach zero under this calculation type.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3156038" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3166452" role="code">DDB(Cost; Salvage; Life; Period; Factor)</paragraph>
<paragraph xml-lang="en-US" id="par_id3153237" role="paragraph">
<emph>Cost</emph> fixes the initial cost of an asset.</paragraph>
@@ -646,7 +646,7 @@
<emph>Period</emph> states the period for which the value is to be calculated.</paragraph>
<paragraph xml-lang="en-US" id="par_id3150243" role="paragraph">
<emph>Factor</emph> (optional) is the factor by which depreciation decreases. If a value is not entered, the default is factor 2.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3159274" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3152882" role="paragraph">A computer system with an initial cost of 75,000 currency units is to be depreciated monthly over 5 years. The value at the end of the depreciation is to be 1 currency unit. The factor is 2.</paragraph>
<paragraph xml-lang="en-US" id="par_id3154106" role="paragraph">
<item type="input">=DDB(75000;1;60;12;2) </item>= 1,721.81 currency units. Therefore, the double-declining depreciation in the twelfth month after purchase is 1,721.81 currency units.</paragraph>
@@ -661,7 +661,7 @@
<paragraph xml-lang="en-US" id="hd_id3149962" role="heading" level="2">DB</paragraph>
<paragraph xml-lang="en-US" id="par_id3148989" role="paragraph"><ahelp hid="HID_FUNC_GDA2">Returns the depreciation of an asset for a specified period using the fixed-declining balance method.</ahelp></paragraph>
<paragraph xml-lang="en-US" id="par_id3156213" role="paragraph">This form of depreciation is used if you want to get a higher depreciation value at the beginning of the depreciation (as opposed to linear depreciation). The depreciation value is reduced with every depreciation period by the depreciation already deducted from the initial cost.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3149807" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3153349" role="code">DB(Cost; Salvage; Life; Period; Month)</paragraph>
<paragraph xml-lang="en-US" id="par_id3148462" role="paragraph">
<emph>Cost</emph> is the initial cost of an asset.</paragraph>
@@ -673,7 +673,7 @@
<emph>Period</emph> is the length of each period. The length must be entered in the same date unit as the depreciation period.</paragraph>
<paragraph xml-lang="en-US" id="par_id3150829" role="paragraph">
<emph>Month</emph> (optional) denotes the number of months for the first year of depreciation. If an entry is not defined, 12 is used as the default.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3151130" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3156147" role="paragraph">A computer system with an initial cost of 25,000 currency units is to be depreciated over a three year period. The salvage value is to be 1,000 currency units. One period is 30 days.</paragraph>
<paragraph xml-lang="en-US" id="par_id3149513" role="paragraph">
<item type="input">=DB(25000;1000;36;1;6)</item> = 1,075.00 currency units</paragraph>
@@ -688,13 +688,13 @@
<paragraph xml-lang="en-US" id="hd_id3153948" role="heading" level="2">IRR</paragraph>
<paragraph xml-lang="en-US" id="par_id3143282" role="paragraph"><ahelp hid="HID_FUNC_IKV">Calculates the internal rate of return for an investment.</ahelp> The values represent cash flow values at regular intervals, at least one value must be negative (payments), and at least one value must be positive (income).</paragraph>
<paragraph id="par_idN10E621" role="paragraph" xml-lang="en-US">If the payments take place at irregular intervals, use the <link href="text/scalc/01/04060118.xhp#xirr" name="XIRR">XIRR</link> function.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3150599" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3155427" role="code">IRR(Values; Guess)</paragraph>
<paragraph xml-lang="en-US" id="par_id3144758" role="paragraph">
<emph>Values</emph> represents an array containing the values.</paragraph>
<paragraph xml-lang="en-US" id="par_id3149233" role="paragraph">
<emph>Guess</emph> (optional) is the estimated value. An iterative method is used to calculate the internal rate of return. If you can provide only few values, you should provide an initial guess to enable the iteration.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3151258" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3150630" role="paragraph">Under the assumption that cell contents are A1=<item type="input">-10000</item>, A2=<item type="input">3500</item>, A3=<item type="input">7600</item> and A4=<item type="input">1000</item>, the formula <item type="input">=IRR(A1:A4)</item> gives a result of 11,33%.</paragraph>
<paragraph xml-lang="en-US" id="par_id461513468030965" role="warning">Because of the iterative method used, it is possible for IRR to fail and return <link href="text/scalc/05/02140000.xhp" name="Error 523">Error 523</link>, with "Error: Calculation does not converge" in the status bar. In that case, try another value for Guess.</paragraph>
</section>
@@ -706,7 +706,7 @@
<bookmark xml-lang="en-US" branch="hid/SC_HID_FUNC_ISPMT" id="bm_id3149491" localize="false"/>
<paragraph xml-lang="en-US" id="hd_id3151012" role="heading" level="2">ISPMT</paragraph>
<paragraph xml-lang="en-US" id="par_id3148693" role="paragraph"><ahelp hid="HID_FUNC_ISPMT">Calculates the level of interest for unchanged amortization installments.</ahelp></paragraph>
- <paragraph xml-lang="en-US" id="hd_id3154661" role="heading" level="3">Syntax</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionsyntax"/>
<paragraph xml-lang="en-US" id="par_id3146070" role="code">ISPMT(Rate; Period; TotalPeriods; Invest)</paragraph>
<paragraph xml-lang="en-US" id="par_id3148672" role="paragraph">
<emph>Rate</emph> sets the periodic interest rate.</paragraph>
@@ -716,7 +716,7 @@
<emph>TotalPeriods</emph> is the total number of installment periods.</paragraph>
<paragraph xml-lang="en-US" id="par_id3159390" role="paragraph">
<emph>Invest</emph> is the amount of the investment.</paragraph>
- <paragraph xml-lang="en-US" id="hd_id3156162" role="heading" level="3">Example</paragraph>
+ <embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_id3149558" role="paragraph">For a credit amount of 120,000 currency units with a two-year term and monthly installments, at a yearly interest rate of 12% the level of interest after 1.5 years is required.</paragraph>
<paragraph xml-lang="en-US" id="par_id3150949" role="paragraph">
<item type="input">=ISPMT(1%;18;24;120000)</item> = -300 currency units. The monthly interest after 1.5 years amounts to 300 currency units.</paragraph>