PHP 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    
Last Updated Ratings Unique User Downloads Download Rankings
2021-02-16 (14 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 31 This week: 5All time: 10,114 This week: 61Up
Version License PHP version Categories
toolconvert 1.0Public Domain5PHP 5, Math
Description Author

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.

Picture of Mario Carrocera
  Performance   Level  
Name: Mario Carrocera is available for providing paid consulting. Contact Mario Carrocera .
Classes: 5 packages by
Country: Mexico Mexico
Age: 55
All time rank: 417649 in Mexico Mexico
Week rank: 6 Up1 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 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 DemoConvert.php Example Example script
Plain text file OnTime.php Class Class source
Plain text file OnTimeConvert.php Class Class source
Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:5
All time:10,114
This week:61Up

For more information send a message to info at phpclasses dot org.