Fix #2487 - remove dependency on round10
Created by: davemevans
The licence associated with dependency round10 is unclear, as reported in #2487 (closed), so have reimplemented the required method natively.
Created by: davemevans
The licence associated with dependency round10 is unclear, as reported in #2487 (closed), so have reimplemented the required method natively.