Cast to Float

To cast to float, use the (float) statement:

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