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