Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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_AH = 0.050;
    static final double CRIN2_L_OL = 0.020;

    public static double crin2LFormula3() {
        double rs = 0;

        double h4 = Double.valueOf(DATA_MAP.get("h4"));
        double h6 = Double.valueOf(DATA_MAP.get("h6"));

        rs = h4 - h6 - CRIN2_L_OL - CRIN2_L_AH;

        return rs;
    }
}