toRadian()

by sungsoonz

JavaScript

console.log(toRadian(360));

function toRadian(degree) {
	return degree * Math.PI/180;
}