Converts a number into a text representation with the given radix (base).
ฟังก์ชันนี้ทำงานใน Google Sheets เหมือนกับใน Excel — ไวยากรณ์และอาร์กิวเมนต์เดียวกัน
BASE(number, radix, [min_length])The BASE function converts a decimal number into a string representation in a specified base. It supports bases ranging from 2 to 36, allowing for easy conversion between decimal, binary, hexadecimal, and other numeral systems.
=BASE(7, 2)ผลลัพธ์: 111
Converts the decimal number 7 to binary.
=BASE(255, 16, 4)ผลลัพธ์: 00FF
Converts 255 to hexadecimal with a minimum length of 4.
The BASE function supports a maximum radix of 36.