Good to hear that worked for you Alex. And thanks for pointing out the documentation error. I've fixed it in my development code and it will go out on the next push.
How to calculate within a given tolerance?
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 5 posting(s) in 1 day