Fix float input I think, haven't tested it a bit.

Just an example of getting user input and converting to float for doing calculations.