Thanks very much, Lee. I don't fully understand it yet, but it works, and I'm glad to be able to eliminate any possibility of imprecision caused by strcat.
I've noticed some imprecision in another function I wrote. I'll have to try to remember which function it was, and see if strcat is involved.