I am reading a binary file containing records of information. Part of the record is a Account Balance which is a float value. It is already stored with the default 6 decimal places.

Does anyone know how I can alter the stored value to only be 2 decimal places. As I am trying to total up all the balances, and the 6 decimals places is altering my final figure.

This is the line I have that reads the balance from the binary file, but from this point it is stored in the structure member as a 6 decimal place float value.

Code:
 /* 
fread(&customer.cust_bal, sizeof(customer.cust_bal), 1, custmast_ptr); */
Any ideas??
Kelly