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

Fiko BorizqyFiko Borizqy
Fiko Borizqy
and
Fiko Borizqy
Mar 27, 2019
400ad03 · Mar 27, 2019

History

19 Commits
Mar 7, 2019
Mar 20, 2019
Mar 6, 2019
Mar 6, 2019
Mar 14, 2019
Mar 27, 2019

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