Difference between revisions of "Documentation/How Tos/Calc: DISC function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(→See also:) |
m |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE: DISC function}} |
+ | {{Documentation/CalcFunc FinancialTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ACCRINTM_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_DURATION_function | ||
+ | }}__NOTOC__ | ||
== DISC == | == DISC == | ||
− | Returns the discount rate of a | + | Returns the discount rate of a security. |
+ | |||
+ | This function is only available if the '''Analysis AddIn''' is installed. | ||
=== Syntax: === | === Syntax: === | ||
<tt>'''DISC(settlementdate; maturitydate; price; redemptionvalue; basis)'''</tt> | <tt>'''DISC(settlementdate; maturitydate; price; redemptionvalue; basis)'''</tt> | ||
− | : <tt>'''settlementdate'''</tt>: the settlement (purchase) date of the | + | : <tt>'''settlementdate'''</tt>: the settlement (purchase) date of the security. |
− | : <tt>'''maturitydate'''</tt>: the maturity (redemption) date of the | + | : <tt>'''maturitydate'''</tt>: the maturity (redemption) date of the security. |
− | : <tt>'''price'''</tt>: the price of the | + | : <tt>'''price'''</tt>: the price of the security. |
− | : <tt>'''redemptionvalue'''</tt>: the redemption value of the | + | : <tt>'''redemptionvalue'''</tt>: the redemption value of the security. |
: <tt>'''basis'''</tt>: is the calendar system to use. Defaults to <tt>'''0'''</tt> if omitted. | : <tt>'''basis'''</tt>: is the calendar system to use. Defaults to <tt>'''0'''</tt> if omitted. | ||
:: 0 - US method (NASD), 12 months of 30 days each | :: 0 - US method (NASD), 12 months of 30 days each | ||
Line 26: | Line 33: | ||
: returns approximately <tt>'''0.072'''</tt>, a discount rate of around 7.2%. | : returns approximately <tt>'''0.072'''</tt>, a discount rate of around 7.2%. | ||
− | === | + | === Issues: === |
− | + | * Calc follows Excel's apparent use of <tt>'''YEARFRAC'''</tt> in calculating <tt>'''DISC'''</tt>. Both Excel and Calc calculate <tt>'''YEARFRAC'''</tt> incorrectly in certain circumstances, and these (small) errors are propagated to <tt>'''DISC'''</tt>. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | [[Documentation/How_Tos/Calc: | + | {{SeeAlso|EN| |
+ | * [[Documentation/How_Tos/Calc: PRICE function|PRICE]] | ||
+ | * [[Documentation/How_Tos/Calc: PRICEDISC function|PRICEDISC]] | ||
+ | * [[Documentation/How_Tos/Calc: PRICEMAT function|PRICEMAT]] | ||
+ | * [[Documentation/How_Tos/Calc: YIELD function|YIELD]] | ||
+ | * [[Documentation/How_Tos/Calc: YIELDDISC function|YIELDDISC]] | ||
+ | * [[Documentation/How_Tos/Calc: YIELDMAT function|YIELDMAT]] | ||
− | [[Documentation/How_Tos/Calc: | + | * [[Documentation/How_Tos/Calc: YEARFRAC function|YEARFRAC]] |
− | [[Documentation/How_Tos/Calc: Financial | + | * [[Documentation/How_Tos/Calc: Date & Time functions#Financial date systems|Financial date systems]] |
− | + | * [[Documentation/How_Tos/Calc: Financial functions|Financial functions]] | |
− | * Calc | + | |
+ | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Financial functions]] |
Latest revision as of 10:49, 31 January 2024
- Financial FunctionsDepreciation
- AMORDEGRCAMORLINCDBDDBSLNSYDVDBPayment Streams, Annuities, Loans
- CUMIPMTCUMIPMT_ADDCUMPRINCCUMPRINC ADDFVFVSCHEDULEIPMTIRRISPMTMIRRNPERNPVPMTPPMTPVRATERRIXIRRXNPVSecurities
-