Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 696 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 696 Bytes

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