Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static Double quotient(Double d1, Double d2) {
        if (d1 == null)
            return Double.valueOf(0);
        if (d2 == null)
            return Double.NaN;
        return d1 / d2;
    }
}