0
when i am dividing any no. by other, than they are not showing float instead they are showing lowest integer in result.
>>>2/4 0
5 Respostas
+ 1
Try 2.0/4.0
0
2
0
any one should in float..
0
1. 2.0/4
2. 2/0.4
3. float(2)/4
4. 2/float(4)
5. float(2)/float(4)
all these combination will give desired output
0
Just add a decimal to the number..
Like so
7.0/2 or 7/0.3
You know whatever floats your boat