Conversion

Package:
Conversion
Summary:
Convert values between metric and binary systems
Groups:
Conversion, PHP 5
Author:
Christoph Kappestein
Description:
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.


Powered by Gewgley