I have number_list ['3', '.', '8', '5', '2'] and try to transform back to 3.852 by
>>> 3*10**(0) + 8*10**(-1) + 5*10**(-2) + 2*10**(-3)
3.8519999999999994
Why i got 3.8519999999999994, not 3.852 ? How to fix it ? Part of the calculation works independently.
>>> 3*10**(0)
3
>>> 8*10**(-1)
0.8
>>> 5*10**(-2)
0.05
>>> 2*10**(-3)
0.002