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 ($this->enabled) {

            $this->output->writeln(sprintf(

                '  <fg=gray>Memory:</>   <fg=default>%s MB</>',

                round(memory_get_usage(true) / 1000 ** 2, 3)

            ));

        }