Java tutorial
public class Main { public static void main(String[] args) { System.out.println(Integer.toString(100, 2)); System.out.println(Integer.toString(100, 8)); System.out.println(Integer.toString(100, 10)); System.out.println(Integer.toString(100, 16)); } }