So here's a pointer to the sprintf() documentation, in case it helps you.
In reply to Re: warnings when using % and printf by HuckinFappy in thread warnings when using % and printf by jeanluca