mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -11,7 +11,7 @@
|
|||
namespace AK {
|
||||
|
||||
// FIXME: Remove this hackery once printf() supports floats.
|
||||
static String number_string_with_one_decimal(u64 number, u64 unit, const char* suffix)
|
||||
static String number_string_with_one_decimal(u64 number, u64 unit, char const* suffix)
|
||||
{
|
||||
int decimal = (number % unit) * 10 / unit;
|
||||
return String::formatted("{}.{} {}", number / unit, decimal, suffix);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue