Printing/placing a float with desired amount of decimal places
<p>I want to print/place (<code>sprintf</code>) a float variable with as many decimal places as I like into a char array. E.g:</p>

<p>So here I would want it to 1 decimal place, SPECIFIER being the specifier for 1 decimal place:</p>

<pre><code>float FLOAT = 1.10000124f;
char FLOAT2[32];
sprintf(FLOAT2, "%SPECIFER" FLOAT);
printf("%s", FLOAT2);
</code></pre>