Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**
     * Convert degrees to radians.
     */
    public static float d2r(float d) {
        float r = 0.0f;
        r = (float) (d * (Math.PI / 180.0f));
        return r;
    }
}