I am using lodash version 4.17.15
Here when I am using its _.sum
method, with certain values, I'm getting a bit odd result
Here are some examples
_.sum([5.32,1.25,1.3])
this is giving correct result #7.87
but when I'm doing this
_.sum([6.32,1.25,1.3])
the result is #8.870000000000001
I unable to find any reason or any supporting document on how this sum method actually works and why its giving such a drastically different result where apparently I just gave it 3 numbers to do a simple summation.
I was doing a live test here