mirror of
https://github.com/pikami/slstatus.git
synced 2024-11-27 05:45:42 +00:00
cpu_freq: Simplify with E-notation
Thanks to the FRIGN
This commit is contained in:
parent
e20b50112e
commit
c2492c3f99
@ -68,7 +68,7 @@
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return fmt_human(freq * 1000 * 1000, 1000);
|
||||
return fmt_human(freq * 1E6, 1000);
|
||||
}
|
||||
|
||||
const char *
|
||||
|
Loading…
Reference in New Issue
Block a user