Java PrintStream.printf(): Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
<pre>
<pre>
pw.printf("%s: %d", s, i);
pw.printf("%s: %d", s, i);
</pre>
<pre>
System.out.printf("float: %2.2f\n",f);
</pre>
</pre>

Revision as of 20:07, 23 April 2016