coupnum
Number of coupon payments between settlement and maturity.
Syntax
Section titled “Syntax”v = coupnum(settlement, maturity, frequency, basis)Description
Section titled “Description”Returns the count of coupon payments scheduled from settlement to maturity, rounded up.
Example
Section titled “Example”coupnum('2007-01-25', '2008-11-15', 2)