X
Xarky
Hi,
I am trying to work out the following equation
double x;
x = 2/40;
The value of x being reported is 0;
The real answer should be 0.05.
Can someone explain me why this occurs and how I can solve it.
Thanks in Advance
I am trying to work out the following equation
double x;
x = 2/40;
The value of x being reported is 0;
The real answer should be 0.05.
Can someone explain me why this occurs and how I can solve it.
Thanks in Advance