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

cfs_p2d (routine)

Calculate discount rate from a given set of cash flows

Introduced in release: 1.0
Component: Generic
Purpose: Calculates discount rate from a given set of cash flows and corresponding lengths of time. Discounting is done on a linear basis for each cash flow. There is no compounding!

Special Considerations: This routine should only be used with one cash flow! While it will return a result with more than one cash flow which is mathematically correct the result will be meaningless.

Alternatives: This routine requires inputs normally provided by other interim routines. The cfs_pd routine uses the cash flows and relevant dates in computing a discount rate.

Results: The result is returned as the value of the function 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: 01/16/1995© 2001 TIPS, Inc.Doc Version: 5.0