Skip to content

conversion-library / eightToTwo

Function: eightToTwo()

ts
function eightToTwo(octal: string): string

octalToBinary

version: v0.0.5+

别名:eightToTwo

Parameters

octal: string

输入的八进制字符串

Returns

string

返回二进制字符串

Example

ts
octalToBinary('15') // '1101'

Defined in

lib/decimal-conversion/binaryAndOctal.ts:30