So I have two doubles, `a` and `b`, and I need to check if `a ≤ b` with the precision of a given epsilon.

So to check if `a == b` I need to do this (`a` and `b` are doubles, `EPSILON` is a final double, in my case 0.001):

```
Math.abs(a - b) < EPSILON

```

My idea as an answer to my own question is:

```
a < EPSILON + b

```

My problem is that with a precision of epsilon, what would be the difference between just less than and less than *or equal* in the final result, maybe someone has a better way to write it?