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_L_VF = 78.0; public static double crin2LFormula4() { double rs = 0; double h7 = Double.valueOf(DATA_MAP.get("h7")); double h8 = Double.valueOf(DATA_MAP.get("h8")); double h9 = Double.valueOf(DATA_MAP.get("h9")); rs = h8 - h7 - (h9 - CRIN2_L_VF / 50); return rs; } }