Spread WPF 17
Spread WPF Documentation / Formula Reference / Formula Functions / DISC
In This Topic
    DISC
    In This Topic

    Summary

    This function calculates the discount rate for a security.

    Syntax

    DISC(settle,mature,pricep,redeem,basis)

    Arguments

    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.)

    Remarks

    Settle, mature, and basis are truncated to integers. If settle or mature is not a valid serial date number, a #VALUE! error is returned. If pricep or redeem is less than or equal to 0, a #NUM! error is returned. If basis is less than 0 or greater than 4, a #NUM! error is returned. If settle is greater than or equal to mature, a #NUM! error is returned.

    Data Types

    Accepts numeric and DateTime object data. Returns numeric data.

    Examples

    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

    See Also