2007-03-02から1日間の記事一覧
いつも忘れるんですよねー。 System.out.println(Integer.toString(5%3)); System.out.println(Integer.toString(5%-3)); System.out.println(Integer.toString(-5%3)); System.out.println(Integer.toString(-5%-3)); /* 2 2 -2 -2 */
いつも忘れるんですよねー。 System.out.println(Integer.toString(5%3)); System.out.println(Integer.toString(5%-3)); System.out.println(Integer.toString(-5%3)); System.out.println(Integer.toString(-5%-3)); /* 2 2 -2 -2 */