Integer conversion utility.
Project description
A tiny command line utility for converting integers between bases.
int accepts an integer in its [b]inary, [o]ctal, [d]ecimal, or he[x] form, then prints it out in all four bases:
$ int 64 hex: 40 dec: 64 oct: 100 bin: 01000000
You can specify the base of the input using a single letter prefix. (Defaults to [d]ecimal if omitted.) int also accepts multiple arguments:
$ int b1001 o777 d256 x1EA
See the module’s Github homepage (https://github.com/dmulholland/int) for further details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
int-0.4.2.tar.gz
(2.3 kB
view details)
File details
Details for the file int-0.4.2.tar.gz
.
File metadata
- Download URL: int-0.4.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ceeec14f42e6891751a8d23b1683007b4ae01b03f237bd61ddf7782b33cd1e9 |
|
MD5 | 6a91db15733a52ed2d00e9869c48b184 |
|
BLAKE2b-256 | 195cc4ce637f04791eaae40fa2ccc2332f524a6b95348c64c3026dbb3a6ece7f |