Closed jordanbrauer closed 4 years ago
namespace UnitConverter\Unit\DigitalStorage
DigitalStorageUnit
$baseUnit
Bit::class
$unitOf
Measure::DIGITAL_STORAGE
b
1
kb
1000
Mb
1000000
Gb
1000000000
Tb
1000000000000
Kib
1024
Mib
1049000
Gib
1074000000
Tib
1100000000000
B
8
kB
8000
MB
8000000
GB
8000000000
TB
8000000000000
Hi,
I created this PR #148 for supporting Digital storage units
Laurent
Thanks a lot @laurent35240! Merged it in – happy halloween 🎃
Digital Storage
namespace UnitConverter\Unit\DigitalStorage
DigitalStorageUnit
class exists for all subsequent data transfer rate units to extend from.$baseUnit
asBit::class
.$unitOf
asMeasure::DIGITAL_STORAGE
.Bit Storage Units (Decimal)
b
) =1
kb
) =1000
Mb
) =1000000
Gb
) =1000000000
Tb
) =1000000000000
Bit Storage Units (Binary)
Kib
) =1024
Mib
) =1049000
Gib
) =1074000000
Tib
) =1100000000000
Byte Storage Units (Decimal)
B
) =8
kB
) =8000
MB
) =8000000
GB
) =8000000000
TB
) =8000000000000