Java tutorial
//package com.java2s; import java.util.HashMap; import java.util.Map; public class Main { public static Map<String, String> DATA_MAP = new HashMap<String, String>(); static final double CRIN2_OL = 0.040; public static double crin2Formula3() { double rs = 0; double h6 = Double.valueOf(DATA_MAP.get("h6")); double h7 = Double.valueOf(DATA_MAP.get("h7")); rs = h6 - h7 - CRIN2_OL; return rs; } }