Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
at_mat_py_ai

at_mat_py_ai (routine)

Calculate bond dollar price, yield to maturity, and accrued interest for an at-maturity security

Introduced in release: 1.0
Component: Generic
Purpose: Calculates either the dollar price or yield to maturity and the accrued interest for an at-maturity security.

Notes: The maturity date used by this routine can be a maturity/redemption date.

Results: The variable calculated contains the calculated dollar price to redemption per 100 of maturity value or yield to redemption as a percent, both accurate to as many places as supported by a double precision value. To round or truncate the result to industry standards see the routine rslt_fix_plc. The variable ai contains the accrued interest per 100 of maturity value accurate to as many places as supported by a double precision value.

Error Conditions: Returned values should be ignored for a non-zero status. See Errors.

Last Mod Date: 03/01/1990© 2001 TIPS, Inc.Doc Version: 5.0