So the issue is .1 + .2 =/= .3
The language is R.
I have a bunch of fractions that in the end should sum to 1. And I have an assert statement that fails because this invariant does not always hold true due to this issue.
What is the best solution?