When casting a string that starts with a number, (float) gets that number.
If the string does not start with a number, (float) convert strings to 0.
float(5) float(5.34) float(25) float(0) float(0) float(1) float(0)