JS

[js] Number.toFixed()

allen15590 2022. 7. 20. 05:01
728x90

Number.prototype.toFixed()

: 소수점 자리를 원하는 부분까지만 출력하는 함수

728x90