And another approach, using a fairly general Approximate Ratio subroutine, at:
Approximate Ratio
Thanks again, @mrpasini and everyone else who contributed. It's been working well for me so far!
For more information, see the wiki Searching the Forum for Answers section.