dec2bin(number)
进制转换
{number}
{string}: 返回转换后二进制的字串形式
{string}
console.assert(dec2bin(2) === '10') console.assert(dec2bin(-10) === '-1010')
← numberConvert dec2hex →