0

So converting an integer to a float, all you'd need to do is multiple it by 1.0?

18th Jul 2016, 1:24 PM
Jonathan Picazo
Jonathan Picazo - avatar
2 Answers
0
I would argue that the zero in 1.0 is neglected so that 1.0 on fact is an integer as well.
19th Jul 2016, 11:34 AM
Kjartan
0
type casting would be much more effective ex; int x print(float(x))
20th Jul 2016, 10:37 PM
Mitchel Paulin
Mitchel Paulin - avatar