document.getElementById('company').value = (document.getElementById('wr_3').value) *1600+6200;
이렇게 계산을 하니...56.35558888888888888888888888888888888888
이딴식으로 길게 나옵니다.
정수만 표시되게 하고 싶은데...
x초딩이라....도움이,,,,,
|
답변 2개 / 댓글 2개
채택된 답변
+20 포인트
참고하세요
https://webcooker.tistory.com/50
document.getElementById('company').value = round((document.getElementById('wr_3').value) *1600+6200);
답변에 대한 댓글 2개
답변을 작성하려면 로그인이 필요합니다.