octal

Interpret a number as base 8

  • octal

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
octal
1901.0.07 years ago7 years agoMinified + gzip package size for octal in KB

Readme

octal
Interpret a number as base 8.
Same as the 0<number> notation but works in strict mode / standard js.
npm install octal

build status

Usage

var octal = require('octal')
console.log(octal(777)) // prints 511 which is 0777

License

MIT