Ness PHP DataSize Helper
You can include this library to your code file by typing the below code;
use Ness\Helpers\DataSize
- Contents
Required Namespace
- Ness
- Helpers
- DataSize
- Helpers
You can include this library to your code file by typing the below code;
use Ness\Helpers\DataSize
About DataSize Helper #top
This class is used to make conversions between data sizes.
Methods #top
ByteToMegabyte
DataSize::ByteToMegabyte(Integer | Float | Double $prm) : Integer | Float | Double
Convert Byte To MB | ||
Return | Integer | Float | Double | |
Parameters | $prm String; Integer | Float | Double data value to convert. |
MegabyteToGigabyte
DataSize::MegabyteToGigabyte(Integer | Float | Double $prm) : Integer | Float | Double
Convert MB To GB | ||
Return | Integer | Float | Double | |
Parameters | $prm String; Integer | Float | Double data value to convert. |
MegabyteToTerabyte
DataSize::MegabyteToTerabyte(Integer | Float | Double $prm) : Integer | Float | Double
Convert MB To TB | ||
Return | Integer | Float | Double | |
Parameters | $prm String; Integer | Float | Double data value to convert. |
GigabyteToTerabyte
DataSize::GigabyteToTerabyte(Integer | Float | Double $prm) : Integer | Float | Double
Convert GB To TB | ||
Return | Integer | Float | Double | |
Parameters | $prm String; Integer | Float | Double data value to convert. |
TerabyteToMegabyte
DataSize::TerabyteToMegabyte(Integer | Float | Double $prm) : Integer | Float | Double
Convert TB To MB | ||
Return | Integer | Float | Double | |
Parameters | $prm String; Integer | Float | Double data value to convert. |
TerabyteToGigabyte
DataSize::TerabyteToGigabyte(Integer | Float | Double $prm) : Integer | Float | Double
Convert TB To GB | ||
Return | Integer | Float | Double | |
Parameters | $prm String; Integer | Float | Double data value to convert. |