Python - float()

The float() function returns a floating point number object from a number or string containing digits with decimal point or scientific notation (E or e).

>>>float(10)
10.0
>>>float('10.45')
10.45
>>>float('1e-003')
0.001
>>>float('+1E6')
1000000.0