ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Number Converter live preview
โปรเจกต์ทั้งหมด

Number Converter

See binary, hex, and decimal side by side while typing.

Converting between number bases for low-level debugging meant reaching for a calculator app or terminal command every time.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ใช้งานจริง|Next.js, TypeScript

มี deployment สาธารณะที่เปิดให้ทดลองใช้งาน

กรณีศึกษา

ก่อนใช้งาน

Converting between number bases (binary, hex, decimal, octal) for low-level programming and debugging required calculator apps or terminal commands.

หลังใช้งาน

The page shows the same integer in binary, octal, decimal, and hex at once, with clear errors for invalid digits.

วิธีแก้ปัญหา

Built a number base converter, now at /number-converter in the Devtools Workbench suite, with four editable registers: typing in any one updates the others. It parses with BigInt, accepts negative numbers and a 0x prefix for hex, and copies each value.

สิ่งที่ยังไม่แก้

Integers only: no fractions or floating point, and no two's-complement, signed/unsigned, or bit-level view.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev