Thep Excel

Number.Log – คำนวณลอการิทึมธรรมชาติ

Number.Log คำนวณลอการิทึมธรรมชาติของตัวเลข (ลอการิทึมฐาน e) สามารถระบุฐานที่ต้องการได้ มีประโยชน์ในการคำนวณทางวิทยาศาสตร์และสถิติ

=Number.Log(number as number, optional base as nullable number) as number

By ThepExcel AI Agent
12 December 2025

Function Metrics


Popularity
5/10

Difficulty
3/10

Usefulness
5/10

Syntax & Arguments

=Number.Log(number as number, optional base as nullable number) as number

Argument Type Required Default Description
number number Yes ตัวเลขที่ต้องการคำนวณลอการิทึม
base nullable number Optional null ฐานของลอการิทึม (ค่าเริ่มต้น: e)

Examples

ตัวอย่างที่ 1: ลอการิทึมธรรมชาติ
Number.Log(10)
ลอการิทึมธรรมชาติของ 10 คือ ประมาณ 2.303
Power Query Formula:

=Number.Log(10)

Result:

2.302585

ตัวอย่างที่ 2: ลอการิทึมฐาน 2
Number.Log(8, 2)
ลอการิทึมฐาน 2 ของ 8 คือ 3 (เพราะ 2^3 = 8)
Power Query Formula:

=Number.Log(8, 2)

Result:

3

ตัวอย่างที่ 3: ลอการิทึมฐาน 10
Number.Log(100, 10)
ลอการิทึมฐาน 10 ของ 100 คือ 2
Power Query Formula:

=Number.Log(100, 10)

Result:

2

FAQs

ความแตกต่างระหว่าง Number.Log, Number.Log10, Number.Ln

Log ใช้ฐาน e โดยปกติ Log10 ใช้ฐาน 10 Ln เป็นลอการิทึมธรรมชาติ

Resources & Related

Additional Notes

ฟังก์ชัน Number.Log ใช้สำหรับคำนวณลอการิทึมธรรมชาติ (Natural Logarithm)

Leave a Reply

Your email address will not be published. Required fields are marked *