PHP Classes

Easy readingPHP Convert Number to Base: Convert numbers between base 10 to another base

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 47 All time: 10,528 This week: 189Up
Version License PHP version Categories
toolconvert 1.0Public Domain5PHP 5, Conversion, Math, Traits


This class can convert numbers between base 10 to another base.

It can take a number and converts it from base 10 to another base.

The class can also convert a string that represents a number in a given base and converts it to base 10.

It also has a function that gets the next number after converting to the specific base.

Picture of Mundo Genesys Development
  Performance   Level  
Name: Mundo Genesys ... <contact>
Classes: 2 packages by
Country: Mexico Mexico
Age: 57
All time rank: 439256 in Mexico Mexico
Week rank: 578 Up5 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


This class, permit change decimal integer number to diferent numeric representation, since binary to base 62, can obtain next number in the select base, is a perfect way to have easy read of id, is write like a trait so just nedd copy in ur proyect and use

  Files folder image Files  
File Role Description
Plain text file class.php Class Class source
Accessible without login Plain text file DemoConvert.php Example Example script
Plain text file myclass.php Class Class source
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,528
This week:189Up