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

nrgb_i_earn (routine)

Calculates interest earned between two dates for a Norway government bond

Introduced in release: 1.996
Component: Non-US (developed mkts)
Purpose: Calculate the amount of interest earned between a start of period date and an end of period date for a Norway government regular bond or odd first coupon bond.

Notes: This routine is intended for use in calculating interest earned/accrued, but not necessarily received, in a specified time period. The accrued interest and possible coupon payments of the starting and ending dates can be included or excluded through the use of flags. Additionally the routine allows for the purchase and/or sale of the bond within the specified time period.

This routine can optionally perform its calculations considering an input purchase or sale ex-dividend dates. To calculate these ex-dividend dates use the nrgb_exd routine.

Results: All results are scaled by thous_securities and accurate to as many places as supported by double precision numbers.

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

Last Mod Date: 02/20/2001© 2001 TIPS, Inc.Doc Version: 5.0