Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    /**
     * Parses the double.
     * 
     * @param str
     *            the str
     * @return the double
     */
    public static double parseDouble(String str) {
        if (str == null) {
            str = "0";
        }
        return Double.parseDouble(str);
    }
}