// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.text.*;

public class DFmt {
   public static void main(String[] args) {
      DecimalFormat df = new DecimalFormat("#.00");
      System.out.println(100000000.80 + " = " + df.format(100000000.80));
   }
}
