[]
This function calculates the discount rate for security.
DISC(settle, mature, pricep, redeem, basis)
This function has these arguments:
Argument | Description |
---|---|
settle | Settlement date for the security |
mature | Maturity date for the security |
pricep | Amount invested in the security |
redeem | Amount to be received at maturity |
basis | [Optional] Integer representing the basis for day count (Refer to Day Count Basis.) |
Settle, mature, and basis are truncated to integers.
The function returns an error in the following cases:
If settle or mature is not a valid serial date number.
If pricep or redeem is less than or equal to 0.
If basis is less than 0 or greater than 4.
If settle is greater than or equal to mature.
Accepts numeric and DateTime object data. Returns numeric data.
DISC(A1,B1,C4,100,2)
DISC("3/15/2003","5/15/2003",R3C4,R5C5,4)
DISC("5/15/2004","9/1/2004",98.2,100,3)
gives the result 0.0602752294