Documentation/Calc Functions/DISC

Function name:
DISC

Category:
Financial Analysis

Summary:
Calculates the allowance (discount) of a security as a percentage.

Syntax:
DISC(Settlement; Maturity; Price; Redemption[; Basis])

Returns:
Returns a real number between 0 and 1 (both inclusive) which is the discount rate of a security.

Arguments:
Settlement is a date or a reference to a cell containing that date which is the date at which the interest accrued up until then is to be calculated.

Maturity is a date or a reference to a cell containing that date which is the date on which the security matures (expires).

Price is a positive real number or a reference to the cell containing that number which is the price of the security per 100 currency units of par value.

Redemption is a positive real number or a reference to the cell containing that number which is the redemption value of the security per 100 currency units of par value.


 * If either Price or Redemption is less than or equal to 0 then the function returns an error value.
 * If either Settlement or Maturity are not valid dates then the function returns an value(#VALUE!) error.
 * If Settlement date is after the Maturity date then the function returns an error value.
 * If Basis is a non-integer value, then the function uses its floor value, i.e. it is truncated to an integer value.
 * After truncation if Basis is ny number except 0,1,2,3,4 or missing(passed as empty argument or not passed at all),then the function will return an error value.

Additional details:

 * The formula for DISC is:

Related LibreOffice functions:
[[Special:MyLanguage/Documentation/Calc_Functions/YEARFRAC YEARFRAC]

ODF standard:
Section 6.12.15, part 2

Equivalent Excel functions:
DISC