자바스크립트 Math.log10()

Jmnote (토론 | 기여)님의 2023년 9월 24일 (일) 18:02 판 (→‎같이 보기)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

JavaScript Math.log10()
자바스크립트 Math.log10()
console.log( Math.log10(2) );      // 0.3010299956639812
console.log( Math.log10(1) );      // 0
console.log( Math.log10(0) );      // -Infinity
console.log( Math.log10(-2) );     // NaN
console.log( Math.log10(100000) ); // 5

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}