JavaScript 소숫점 자릿수 반올림

n=126.89일 때

a = n.toFixed(0)

-> a = 127

댓글을 작성해보세요.