// 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.math.BigDecimal;
import java.util.HashMap;

public class BigDecimalFun2 {
    public static void main(String[] args) {
        HashMap<String,BigDecimal> bdm = new HashMap<String,BigDecimal>();
        for(int i = 0; i < 12; i++) {
            String m = String.format("%02d", i+1);
            BigDecimal x = new BigDecimal(10+i);
            bdm.put(m, x);
        }
        for(String m : bdm.keySet()) {
            System.out.println(m + " " + bdm.get(m));
        }
    }
}
