JavaScript percent 계산하기 소수점 버리기 Math.floor(분자/분모*100); Math.floor(분자/분모*100); software engineering/web 2019.09.06