var floor_math = function(val){
 var result = Math.floor(parseInt(val)/10)*10; // 0단위 자리 절사
 return result;
}

+ Recent posts