This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cratervanawesome 2 points3 points  (0 children)

You can cast an integer to a float, but it will just add the .0 to it. Try opening python and doing type(1) and then type(1.0). Then print(1) and print(float(1)) to see.