Java tutorial
public class Main { public static void main(String[] argv) throws Exception { System.out.printf("Two decimal digits: %.2f\n", 10.0 / 3.0); } } //Two decimal digits: 3.33