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 CRIN1_6_AH = 0.050;
    static final double CRIN1_6_VF = 67.0;

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

        double h8 = Double.valueOf(DATA_MAP.get("h8"));
        double h9 = Double.valueOf(DATA_MAP.get("h9"));
        double h10 = Double.valueOf(DATA_MAP.get("h10"));

        rs = h8 - h9 - (h10 - CRIN1_6_VF / 50) + CRIN1_6_AH;

        return rs;
    }
}