Implement a Function to Return a Ratio

By | September 25, 2016

Implement a function to return a ratio from a double function (0.25 -> 1/4).
If the function tolerance is .01 then Find Ratio(.24, .01) -> 1/4