// Page 032 import java.text.DecimalFormat; class Prog_3_3 { public static void main(String[] args) { DecimalFormat f2 = new DecimalFormat("0.00"); double x = Math.log(2); System.out.println("ln2 = " + f2.format(x) + "\n\n"); } }