02-04-2004, 09:48 AM
Aga, you're right about floating point. However, you can usually avoid using floating point if you keep all your values as whole numbers internal to your program with implied decimals. In order not to go nuts as to which values have what number of implied decimals, set them all to 3 implied decimals which I have found to be sufficient for almost all cases.
*****
*****