let str = readline(); function getNum(str){ if(str<=0){ throw new Error('传值错误') }else{ console.log(Math.round(str)) } } getNum(str);
let str = readline(); function getNum(str){ if(str<=0){ throw new Error('传值错误') }else{ console.log(Math.round(str)) } } getNum(str);