Added KB/s to MB/s conversion
This commit is contained in:
parent
e876d93005
commit
69d6922ff3
|
@ -523,9 +523,11 @@ class helperFunctions extends elementHelpers
|
|||
}
|
||||
|
||||
protected function diskSpeedAsMbps(string $type, string $value)
|
||||
{//If value type GB/s convert to MB/s
|
||||
{//If value type GB/s convert to MB/s, KB/s to MB/s
|
||||
if ($type == "GB/s") {
|
||||
return $this->GBpstoMBps($value);
|
||||
} elseif ($type == "KB/s") {
|
||||
return ($value / 1000);
|
||||
} else {
|
||||
return $value;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user