Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Rounds a float
<?php round(int|float $num, int $precision = 0, int $mode = PHP_ROUND_HALF_UP): float
<?php             }



            if (isset($startTime)) {

                $io->writeError('<info>Memory usage: '.round(memory_get_usage() / 1024 / 1024, 2).'MiB (peak: '.round(memory_get_peak_usage() / 1024 / 1024, 2).'MiB), time: '.round(microtime(true) - $startTime, 2).'s');

            }



            return $result;
<?php             '<info>Found %s package versions referenced in your dependency graph. %s (%d%%) were optimized away.</info>',

            number_format($total),

            number_format($filtered),

            round(100/$total*$filtered)

        ), true, IOInterface::VERY_VERBOSE);



        return $pool;
<?php             case STREAM_NOTIFY_PROGRESS:

                if ($this->bytesMax > 0 && $this->progress) {

                    $progression = min(100, (int) round($bytesTransferred / $this->bytesMax * 100));



                    if ((0 === $progression % 5) && 100 !== $progression && $progression !== $this->lastProgress) {

                        $this->lastProgress = $progression;