octal

Interpret a number as base 8

MIT 1 个版本
安装
npm install octal
yarn add octal
pnpm add octal
bun add octal
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

版本列表
1.0.0 2015-11-19