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

disc_d_2_p (routine)

Calculate discount rate to dollar price for a discount security

Introduced in release: 1.0
Component: Generic
Purpose: Calculates the dollar price given the discount rate for a discount security.

Alternatives: This routine requires inputs normally provided by other interim routines. The disc_pyd and disc_pydbey routines use relevant dates in computing price/discount/yield.

Results: The dollar price is returned accurate to as many decimal 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: 04/08/1994© 2001 TIPS, Inc.Doc Version: 5.0