Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { private static float startArcAngle(double i) { return (float) (i * 180 / Math.PI + 90); } }