Thep Excel

BIN2OCT – แปลงฐาน 2 เป็นฐาน 8

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

แปลงเลขฐานสอง (Binary) เป็นฐานแปด (Octal)

=BIN2OCT(number, [places])

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=BIN2OCT(number, [places])

Argument Type Required Default Description
number Number Yes เลขฐานสอง
places Number Optional 0 จำนวนหลัก

Examples

แปลง 3 บิต

ค่าสูงสุดของเลขฐานแปดหลักเดียวคือ 7 (111)
Excel Formula:

=BIN2OCT("111")

Result:

7

Permission Code

ใช้แปลงค่าสิทธิ์ (Permissions) ในระบบ Unix/Linux
Excel Formula:

=BIN2OCT("110100101")

Result:

645

เติมศูนย์

บังคับให้แสดงผลครบ 3 หลัก
Excel Formula:

=BIN2OCT("10", 3)

Result:

002

Resources & Related

Additional Notes

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

Leave a Reply

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