简体中文
Appearance
conversion-library / decimalToBinary
function decimalToBinary(num: number): string
decimalToBinary
别名:tenToTwo
tenToTwo
• num: number
number
输入的十进制数字
string
返回二进制字符串
decimalToBinary(10) // '1010'
lib/decimal-conversion/decimalAndBinary.ts:16