2009-01-22から1日間の記事一覧

0詰め

今迄 System.out.println( new DecimalFormat("0000").format(212)); 1.5 からこんなん出来てた System.out.println(String.format("%04d", 212)); しらなかった>< なんか便利っぽい関数増えてるんだなぁ