octal
Interpret a number as base 8.
Same as the 0<number>
notation but works in strict mode / standard js.
npm install octal
Usage
var octal = require('octal')
console.log(octal(777)) // prints 511 which is 0777
License
MIT
License |
License |
---|---|
GroupId | GroupIdorg.webjars.npm |
ArtifactId | ArtifactIdoctal |
Last Version | Last Version1.0.0 |
Release Date | Release Date |
Type | Typejar |
Description |
Descriptionoctal
WebJar for octal
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
Filename | Size |
---|---|
octal-1.0.0.pom | |
octal-1.0.0.jar | 4 KB |
octal-1.0.0-sources.jar | 22 bytes |
octal-1.0.0-javadoc.jar | 22 bytes |
Browse |
<!-- https://jarcasting.com/artifacts/org.webjars.npm/octal/ -->
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>octal</artifactId>
<version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/octal/
implementation 'org.webjars.npm:octal:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/octal/
implementation ("org.webjars.npm:octal:1.0.0")
'org.webjars.npm:octal:jar:1.0.0'
<dependency org="org.webjars.npm" name="octal" rev="1.0.0">
<artifact name="octal" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='octal', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "octal" % "1.0.0"
[org.webjars.npm/octal "1.0.0"]
Interpret a number as base 8.
Same as the 0<number>
notation but works in strict mode / standard js.
npm install octal
var octal = require('octal')
console.log(octal(777)) // prints 511 which is 0777
MIT