app/MediaFile.php
public function fileSizeKB(): string
    {
        $size = $this->fileSizeBytes();
        $size = intdiv($size + 1023, 1024);

        /* I18N: size of file in KB */
        return I18N::translate('%s KB', I18N::number($size));
    }
public function fileSizeKB(): string
    {
        $size = $this->fileSizeBytes();
        $size = intdiv($size + 1023, 1024);

        /* I18N: size of file in KB */
        return I18N::translate('%s KB', I18N::number($size));
    }
public function fileSizeKB ( ) : string { $ size = $ this -> fileSizeBytes ( ) ; $ size = intdiv ( $ size + 1023 , 1024 ) ; /* I18N: size of file in KB */ return I18N :: translate ( '%s KB' , I18N :: number ( $ size ) ) ; }
get the media file size in KB

@return string
get the media file size in KB