src/Koldy/Convert.php
private static function getMeasure(int $size, int $count = 0, int $round = 0): string
    {
        if ($size >= 1024) {
            return self::getMeasure((int)round($size / 1024), ++$count, $round);
        } else {
            return round($size, $round) . ' ' . self::$measure[$count];
        }
    }
private static function getMeasure(int $size, int $count = 0, int $round = 0): string
    {
        if ($size >= 1024) {
            return self::getMeasure((int)round($size / 1024), ++$count, $round);
        } else {
            return round($size, $round) . ' ' . self::$measure[$count];
        }
    }
private static function getMeasure ( int $ size , int $ count = 0 , int $ round = 0 ) : string { if ( $ size >= 1024 ) { return self :: getMeasure ( ( int ) round ( $ size / 1024 ) , ++ $ count , $ round ) ; } else { return round ( $ size , $ round ) . ' ' . self :: $ measure [ $ count ] ; } }
Get file's measure

@param int $size
@param int $count
@param int $round

@return string
Get file s measure