Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function consolecon(arg){
- let radians = Number(arg);
- let degrees = radians * 180 / Math.PI;
- console.log(degrees.toFixed(0));
- }
- consolecon("3.1416");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement