Re: More Conversion Problems
Monday, May 14, 2001 07:38 PM
You are doing an implicit cast from int to double. As you note, the multiplication gives a 60+ bit number, which is much larger than a 32 bit int. On the cast of this (int) result to a double, you are getting a result of zero. You need to cast to double before the multiplication.