demo_ref_float2.py:
x = float("3.500") print(x)
C:\Users\My Name>python demo_float2.py
3.5