GitHub 6248★

Convert degrees to radians

JavaScript version

const degsToRads = (deg) => (deg * Math.PI) / 180.0;

TypeScript version

const degsToRads = (deg: number): number => (deg * Math.PI) / 180.0;
Follow me on and to get more useful contents.