mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 23:00:28 -04:00
work
This commit is contained in:
parent
d086ea59bd
commit
7f50f00b42
15 changed files with 303 additions and 130 deletions
|
@ -54,13 +54,13 @@ class Formatter{
|
|||
$output = number_format($bytes / 1024, 0) . 'KB';
|
||||
}
|
||||
elseif($bytes > 1){
|
||||
$output = $bytes . 'b';
|
||||
$output = $bytes . 'B';
|
||||
}
|
||||
elseif($bytes == 1){
|
||||
$output = $bytes . 'b';
|
||||
$output = $bytes . 'B';
|
||||
}
|
||||
else{
|
||||
$output = '0b';
|
||||
$output = '0B';
|
||||
}
|
||||
|
||||
return $output;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue