คุณสมบัติ Math.LOG10E แทนค่า ลอการิทึมฐาน 10 ของ e (log₁₀e ≈ 0.4342944819032518)
ไวยากรณ์
Math.LOG10E
ตัวอย่าง
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var result = Math.LOG10E; document.write(result); </script> </body> </html>
ผลลัพธ์
0.4342944819032518
ความหมายทางคณิตศาสตร์:
LOG10E = log₁₀(e) = 1 / ln(10)- ใช้แปลงฐานลอการิทึม:
log₁₀(x) = ln(x) * LOG10E - สำคัญในวิทยาศาสตร์ วิศวกรรม (Decibel, pH, Richter scale)
ฟังก์ชันที่เกี่ยวข้อง:
Math.log10(x)- คำนวณ log₁₀(x) โดยตรง (ES6+)Math.LN10- ln(10) ≈ 2.3026Math.log(x)- ln(x)