Skip to content
/ troop Public

Troop is a decimal base on 62, means that 61 is the biggest one.

License

Notifications You must be signed in to change notification settings

fiko/troop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Troop Decimal

  • 0-9 = 0-9 (number)
  • 10-35 = a-z (lowercase)
  • 36-61 = A-Z (uppercase)

Decimal from 0-61, 61 is the biggest digit that symbolized by capital z "Z"

Installing

You can add Troop to your project via composer.

How To Use?

  • To convert from decimal to Troop, use this method:
echo \Borizqy\Troop\Troop::fromDec(251195);
  • To convert back to decimal, use this method:
echo \Borizqy\Troop\Troop::toDec("13lx");

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Troop is a decimal base on 62, means that 61 is the biggest one.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages