Skip to content

Add support for units of measurement, Data Transfer Rate #39

@jordanbrauer

Description

@jordanbrauer

Data Transfer Rate

namespace UnitConverter\Unit\DataTransferRate

  • The abstract DataTransferRateUnit class exists for all subsequent data transfer rate units to extend from.
    • It declares the protected property $baseUnit as BitPerSecond::class.
    • It declares the protected property $unitOf as Measure::DATA_TRANSFER_RATE.

Bit Transfer Rate Units (Decimal)

  • bit per second (bit/s) = 1
  • kilobit per second (kbit/s) = 1000
  • megabit per second (Mbit/s) = 1000000
  • gigabit per second (Gbit/s) = 1000000000
  • terabit per second (Tbit/s) = 1000000000000

Bit Transfer Rate Units (Binary)

  • kibibit per second (Kibit/s) = 1024
  • mebibit per second (Mibit/s) = 1049000
  • gibibit per second (Gibit/s) = 1074000000
  • tebibit per second (Tibit/s) = 1100000000000

Byte Transfer Rate Units (Decimal)

  • byte per second (B/s) = 8
  • kilobyte per second (kB/s) = 8000
  • megabyte per second (MB/s) = 8000000
  • gigabyte per second (GB/s) = 8000000000
  • terabyte per second (TB/s) = 8000000000000

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions