Java tutorial
public class MainClass { public static void main(String[] args) { System.out.printf("Decimal/Scientific: %G\n", Math.PI); } }