Difference between revisions of "Documentation/How Tos/Calc: ODDFPRICE function"
From Apache OpenOffice Wiki
< Documentation | How Tos
OOoWikiBot (talk | contribs) m (Robot: Automated text replacement %s) |
OOoWikiBot (talk | contribs) m (Robot: Automated text replacement %s) |
||
Line 28: | Line 28: | ||
{{Documentation/SeeAlso| | {{Documentation/SeeAlso| | ||
− | * [[Documentation/How_Tos/Calc: ODDFYIELD function|ODDFYIELD]] | + | * [[Documentation/How_Tos/Calc: ODDFYIELD function|ODDFYIELD]] |
− | * [[Documentation/How_Tos/Calc: ODDLPRICE function|ODDLPRICE]] | + | * [[Documentation/How_Tos/Calc: ODDLPRICE function|ODDLPRICE]] |
* [[Documentation/How_Tos/Calc: ODDLYIELD function|ODDLYIELD]] | * [[Documentation/How_Tos/Calc: ODDLYIELD function|ODDLYIELD]] | ||
Revision as of 14:30, 26 February 2009
ODDFPRICE
Returns the value of a security per 100 currency units of face value, where the time to the first interest payment is not a whole period.
Syntax:
ODDFPRICE(settlementdate; maturitydate; issuedate; firstinterestdate; rate; yield; redemptionvalue; frequency; basis)
- settlementdate: the settlement (purchase) date of the security.
- maturitydate: the maturity date of the security.
- issuedate: the issue date of the security.
- firstinterestdate: the date on which the security first pays interest.
- rate: the interest rate of the security.
- yield: the annual yield of the security.
- redemptionvalue: the redemption value of the security per 100 currency units of face value.
- frequency: number of interest payments per year (1, 2 or 4).
- basis: is the calendar system to use. Defaults to 0 if omitted.
- 0 - US method (NASD), 12 months of 30 days each
- 1 - Actual number of days in months, actual number of days in year
- 2 - Actual number of days in month, year has 360 days
- 3 - Actual number of days in month, year has 365 days
- 4 - European method, 12 months of 30 days each
- This function currently returns invalid results.
Example:
ODDFPRICE("1990-06-01"; "1995-12-31"; "1990-01-01"; "1990-12-31"; 6%; 5%; 1000; 1; 1)
- Calc incorrectly returns an error.
Template:Documentation/SeeAlso
Issues:
- This function currently returns invalid results. See issue 92177.