Just found a quick little bug with format where it behaves differently than printf.<div><br></div><div>It appears to treat values formatted through &quot;~v&quot; as if &quot;~a&quot; was specified. </div><div><br></div><div>
I&#39;ve only tested this for exact fractional numbers like 11 5/16 so I&#39;m not sure if this happens with other such values.</div><div><br></div><div>For instance:</div><div><br></div><div><div>(printf &quot;~a~n&quot; (+ 11 (/ 5 16)))</div>
<div>&gt; 181/16</div></div><div><br></div><div><div>(printf &quot;~v~n&quot; (+ 11 (/ 5 16)))</div><div>&gt; 11 5/16</div></div><div><br></div><div>now format does not behave exactly this way...</div><div><br></div><div>
<div>(format &quot;~a~n&quot; (+ 11 (/ 5 16)))</div><div>&gt; &quot;181/16\n&quot;</div></div><div><br></div><div><div>(format &quot;~v~n&quot; (+ 11 (/ 5 16)))</div><div>&gt; &quot;181/16\n&quot;</div></div><div><br></div>
<div>Is this expected behavior?</div><div><br></div><div>Thanks,</div><div>    Curtis</div>