_gcvt is a Visual Studio function. sprintf should work fine provided you consider limit as the number of significant precision digits.
>but the output looks rather crude to the perfectionist.
How appropriately vague. Care to be more specific?
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Offline 11,807 posts
since Sep 2004