stopnie do radian
radians = degrees * pi / 180;
Weary Walrus
radians = degrees * pi / 180;
degrees = radians * 180 / pi
// Math is in the System namespace.
double radians = degrees * Math.PI / 180;
double radians = Math.toRadians(degrees);
// Radians to degrees
double degrees = radians * 180 / Math.PI;
rad = deg*pi/180