PHP Classes
elePHPant
Icontem

Conversion: Convert values between metric and binary systems

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2009-06-20 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 299 All time: 6,957 This week: 1,125Up
Version License PHP version Categories
conversion 1.0GNU General Publi...5.0PHP 5, Conversion
Description Author

This class can be used to convert values between metric (SI) and binary (IEC) systems.

It can take values represented in unit of the metric and binary systems and vice-versa.

The class supports units like byte, meter, gram and seconds to the SI standard but you can also define your own unit.

It can also convert bytes to the binary system, for instance converting 1024 bytes to 1 KB.

Picture of Christoph Kappestein
Name: Christoph Kappestein <contact>
Classes: 3 packages by
Country: Germany Germany
Age: ???
All time rank: 2601164 in Germany Germany
Week rank: 1394 Up62 in Germany Germany Up

Details
	conversion

	- general
	This class converts units to the SI standard and you can also convert bytes
	to the IEC standard. For more informations about the SI system goto
	http://en.wikipedia.org/wiki/SI_prefix and for more informations about
	IEC goto http://en.wikipedia.org/wiki/Binary_prefix. See the example
	to learn howto work with the class.
  Files folder image Files  
File Role Description
Plain text file conversion.php Class main class
Accessible without login Plain text file example.php Example example script
Accessible without login Plain text file readme.txt Data documentation

 Version Control Unique User Downloads Download Rankings  
 0%
Total:299
This week:0
All time:6,957
This week:1,125Up