float(5)
float(5.34)
float(25)
float(0)
float(0)
float(1)
float(0)

Note that when casting a string that starts with a number, the (float) function uses that number. If it does not start with a number, the (float) function convert strings into the number 0.