This is a very basic sum of 5 floats. It's very obvious that the result is 1, so why does python shows me 0.9999999
when i print the result?
sum([.25,.35,.3,.1,0]) # gives 0.999999(9)
This is a very basic sum of 5 floats. It's very obvious that the result is 1, so why does python shows me 0.9999999
when i print the result?
sum([.25,.35,.3,.1,0]) # gives 0.999999(9)