Hi,
Why can you put integer values into a float variable and there is no error? maybe I am confused about float ranges but I thought it only contained decimals.
I had two integers, 10 and 3, and tried to divide them to get a result as 3.333 by having the total as a float variable. However, it only returned 3.000.
But, when I declared 10 and 3 as float, I got the result I looked for.
Can someone clarify the possible values you can store in:
integer
double
float
Thanks