Thep Excel

BIN2DEC – แปลงฐาน 2 เป็นฐาน 10

แปลงฐาน 2 เป็นฐาน 10

แปลงเลขฐานสอง (Binary) เป็นเลขฐานสิบ (Decimal)

=BIN2DEC(number)

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=BIN2DEC(number)

Argument Type Required Default Description
number Number Yes เลขฐานสอง (ไม่เกิน 10 หลัก)

Examples

แปลงค่าพื้นฐาน

1(8) + 0(4) + 1(2) + 0(1) = 10
Excel Formula:

=BIN2DEC("1010")

Result:

10

เลขติดลบ (Two's complement)

Excel ใช้ 10-bit binary ถ้าเป็น 1 ล้วนจะหมายถึง -1
Excel Formula:

=BIN2DEC("1111111111")

Result:

-1

จากเซลล์

แปลงข้อความเลขฐานสองในเซลล์ให้เป็นตัวเลขปกติ
Excel Formula:

=BIN2DEC(Binary_String)

Result:

Decimal Value

Resources & Related

Additional Notes

ฟังก์ชัน BIN2DEC ใน Excel ช่วยแปลงเลขฐานสองเป็นเลขฐานสิบ

Leave a Reply

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