Correct prefix for "kilo" should be small k, not capital K (#13714)

Ref: https://en.wikipedia.org/wiki/Kilo-

For example in the Fanspeed values 4500 RPM (Rounds Per Minute) should be written as 4.5 kRPM, not 4.5 KRPM.

Regards
GG
This commit is contained in:
ilGino
2022-01-26 18:31:57 -06:00
committed by GitHub
parent 7d0bbb98eb
commit 25ab5df986

View File

@@ -43,7 +43,7 @@ class Number
}
if ($value >= '0.1') {
$sizes = ['', 'K', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y'];
$sizes = ['', 'k', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y'];
$ext = $sizes[0];
for ($i = 1; (($i < count($sizes)) && ($value >= 1000)); $i++) {
$value = $value / 1000;