src/mako/i18n/I18n.php
protected function parseNumberTags(string $string): string
	{
		return preg_replace_callback('/\<number(:([0-9]+)(,(.)(,(.))?)?)?\>([0-9-.e]*)\<\/number\>/iu', function($matches)
		{
			return $this->number((float) $matches[7], ($matches[2] ?: 0), $matches[4], $matches[6]);
		}, $string);
	}
protected function parseNumberTags(string $string): string
	{
		return preg_replace_callback('/\<number(:([0-9]+)(,(.)(,(.))?)?)?\>([0-9-.e]*)\<\/number\>/iu', function($matches)
		{
			return $this->number((float) $matches[7], ($matches[2] ?: 0), $matches[4], $matches[6]);
		}, $string);
	}
protected function parseNumberTags ( string $ string ) : string { return preg_replace_callback ( '/\<number(:([0-9]+)(,(.)(,(.))?)?)?\>([0-9-.e]*)\<\/number\>/iu' , function ( $ matches ) { return $ this -> number ( ( float ) $ matches [ 7 ] , ( $ matches [ 2 ] ? : 0 ) , $ matches [ 4 ] , $ matches [ 6 ] ) ; } , $ string ) ; }
Format numbers between number tags.

@param  string $string String to parse
@return string
Format numbers between number tags .