Skip to content

conversion-library / octalToBinary

Function: octalToBinary()

ts
function octalToBinary(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:21