I'm trying to add two floating number and I cannot get to work. I need to be the output to be 100.0 What I'm doing wrong here. Thank you for any advise.
mystring = 'Value: 99.9 Date: 20130215'
tot = float(mystring[8:13])
print (float(tot) + .01)
I need to be the tot = 100.0 if any one can help Thank you
I'm getting 99.91