Problems with Test

James McKenzie jjmckenzie51 at earthlink.net
Sun Oct 31 22:23:47 CDT 2010


All:

I'm trying to convert one integer number using a float number factor.  
Here is the code:

int ry = 125;
double ryf;

ryf = ry/1440;

The result is 0 and should be 0.06666666667 (or even more sixes.)

BTW, if I change ry to 1440 the result is 1.00000.

What am I doing 'incorrectly'?

James McKenzie




More information about the wine-devel mailing list