public static function percentage( $value, $decimals = 0 )
	{
		$nf = new \NumberFormatter(\Locale::getDefault(), \NumberFormatter::PERCENT);
		$nf->setAttribute(\NumberFormatter::MAX_FRACTION_DIGITS, $decimals);
		return $value > 1 ? $nf->format($value) : $nf->format($value);
	}