conversion-library / twoToEight
Function: twoToEight()
ts
function twoToEight(binary: string): string
binaryToOctal
version: v0.0.5+alias:
twoToEight
Parameters
• binary: string
Enter binary
Returns
string
Return octal
Example
ts
binaryToOctal('1101') // '15'