Java tutorial
//package com.java2s; public class Main { public static float d2r(float degree) { return degree * (float) Math.PI / 180f; } }