3 ms·
Heh. Cute. As a Java programmer, I agree that NumberFormat looks ridiculous there. It's a lot of work for a single number to string conversion. Luckily, since
by MBCook 15y ago
Heh. Cute.
As a Java programmer, I agree that NumberFormat looks ridiculous there. It's a lot of work for a single number to string conversion.
Luckily, since Java 5 there is a printf function:
System.out.printf(...);
- spicyj 15y agoThat's in the article.