Main Index |
TIPS Home |
subtrct_concsubtrct_conc (routine)
Subtracts a concession from a dollar price
Introduced in release: 1.0
Component: US Bonds
Purpose:
Given a dollar price subtract the concession. The concession can be a percent of the dollar price or an amount per unit based on conc_flag as follows:
0 = concession is a percent of price
1 = concession is per 100
2 = concession is per 1000
3 = concession is per 10000
4 = concession is per 100000
Results:
The concession is subtracted from the dollar price and returned as the value of the function.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.
| Last Mod Date: 12/15/1994 | © 2001 TIPS, Inc. | Doc Version: 5.0 |