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

rslt_fix_plc (routine)

Fix the result of a calculation to the correct number of places after the decimal point

Introduced in release: 1.0
Component: Generic
Purpose: Fix the number of places of given (the calculation result) based on the security type and generally accepted industry practices.

Special Considerations: This routine currently works only for U.S. securities.

Results: The given value is rounded or truncated to the correct number of places 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: 01/12/1996© 2001 TIPS, Inc.Doc Version: 5.0