Skip to content

lusionx/number-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published