Purpose:
Calculates either dollar price or yield to maturity and accrued interest for French government periodic interest payment security. Specifically it performs calculations on OATs, EEs and BTANs.
Results:
All results are calculated using the industry standard rules or generally accepted practices. The variable calculated contains the calculated dollar price or yield to redemption, accurate to as many places as supported by a double precision value. The variable ai contains the accrued interest per 100 of maturity value rounded to 3 decimal places.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.