CNVTBOND module routines - WIN32

Company Information Software Products TDF Market Reports Download Area take me Home

CNVTBOND.C - CoNVerT BOND routines

Conversion routines for handling T-Bond data.

Function cnvt_tbond_data_rec_2_decimal
Include file CNVTBOND.H
Prototype void cnvt_tbond_data_rec_2_decimal( DATA_REC *data_ptr )
Remarks Convert all price data fields in the caller's DATA_REC from T-Bond 32's style to T-Bond decimal style.

Function cnvt_tbond_data_rec_dec_to_32
Include file CNVTBOND.H
Prototype void cnvt_tbond_data_rec_dec_to_32( DATA_REC *data_ptr )
Remarks Convert all price data fields in the caller's DATA_REC from T-Bond decimal style to T-Bond 32's style.

Function cnvt_tbond_2_decimal
Include file CNVTBOND.H
Prototype float cnvt_tbond_2_decimal( float bond_quote )
Remarks Convert a T-Bond 32's data value into a decimal format. 88.08 -> 88.25

Function cnvt_tbond_decimal_2_normal
Include file CNVTBOND.H
Prototype float cnvt_tbond_decimal_2_normal( float bond_quote )
Remarks Convert a T-Bond decimal data value back into a 32's style. 87.75 -> 87.24

Function cnvt_tbond_2_int
Include file CNVTBOND.H
Prototype int cnvt_tbond_2_int( float bond_quote )
Remarks Convert a T-Bond 32's data value into integer 32's. 88.08 -> 2824

Function cnvt_tbond_int_2_float
Include file CNVTBOND.H
Prototype float cnvt_tbond_int_2_float( int bond_quote )
Remarks Convert a T-Bond interger 32 value back into a float. 2824 -> 88.08

Table of Contents Function Index

generated on 22 September 1998 - 12:54:36
© 1998 Tierra del Fuego Ltd.