+ 1

2**5=32 here why this number is not a float???

1st Feb 2018, 10:52 AM
Safaf_Mohammed
5 Answers
+ 1
2**5 means exponent, 2*2*2*2*2 does not result in a float.
1st Feb 2018, 10:55 AM
Jacob Pembleton
Jacob Pembleton - avatar
+ 1
From my experience, it would be a float if what you type is 2.0**5. Since your equation contained two integers the outcome was an integer.
1st Feb 2018, 6:49 PM
Miles Kleinert
Miles Kleinert - avatar
0
iam asking that in result it would be 32.0 no??
1st Feb 2018, 10:55 AM
Safaf_Mohammed
0
@Jan Markus....tqu sir
1st Feb 2018, 1:12 PM
Safaf_Mohammed
0
tqu @Miles Kleinert
1st Feb 2018, 6:51 PM
Safaf_Mohammed