0.2.0 • Published 8 years ago

number-x v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

#number-x 任意进制与10进制的双向转化

conver

nx = require 'number-x'
chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVTXYZ'
assert.equal nx.toStr('38', chars), 'C'
assert.equal nx.('38', chars), 'C'

tool

assert.equal nx.lpad('12321', 7, 'a'), 'aa12321'
0.2.0

8 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago