I am using the following code to convert the string into a float.,
number = "2.05"
float_val = float(number)
print(float_val)
When I run this code with Python 3.5.2, the output is as shown below
I am running the same code on a different machine with Python 3.5.1, the output is as follows
My expected output is as in Python 3.5.2. What should be done?
Thanks in advance